Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001658/0.001658, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002012/0.002012, allocations: 199.9 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.481/1.481, allocations: 227.7 MB / 247.2 MB, free: 10.13 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.89 kB / 358.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2335, allocations: 50.53 MB / 409.1 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003205/0.2368, allocations: 1.905 MB / 411 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.2389, allocations: 1.216 MB / 412.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.239, allocations: 3.938 kB / 412.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005952/0.2396, allocations: 155.5 kB / 412.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003489/0.24, allocations: 159.4 kB / 412.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004922/0.2405, allocations: 171.1 kB / 412.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.2407, allocations: 187.5 kB / 412.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.2408, allocations: 37.47 kB / 412.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.2409, allocations: 75.64 kB / 412.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.2411, allocations: 75.67 kB / 413 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.2411, allocations: 8 kB / 413 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.2413, allocations: 55.97 kB / 413.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.506e-05/0.2413, allocations: 47.78 kB / 413.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.146e-05/0.2414, allocations: 79.48 kB / 413.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.2417, allocations: 206.3 kB / 413.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2417, allocations: 0 / 413.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.2417, allocations: 4 kB / 413.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.2418, allocations: 0 / 413.4 MB, free: 12.97 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007347/0.2425, allocations: 0.5193 MB / 413.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.2425, allocations: 8.031 kB / 413.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.2426, allocations: 42.73 kB / 414 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.2426, allocations: 20.8 kB / 414 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.243, allocations: 275 kB / 414.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.243, allocations: 4.375 kB / 414.3 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.2431, allocations: 11.94 kB / 414.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.2434, allocations: 146.7 kB / 414.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2434, allocations: 0 / 414.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.2434, allocations: 8 kB / 414.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.2434, allocations: 3.984 kB / 414.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.2435, allocations: 27.98 kB / 414.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.244, allocations: 370.3 kB / 414.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.2442, allocations: 103.9 kB / 414.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.2444, allocations: 50.56 kB / 415 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.2444, allocations: 0 / 415 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/0.2446, allocations: 83.31 kB / 415.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.2446, allocations: 0 / 415.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000329/0.2449, allocations: 141.5 kB / 415.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.375e-05/0.245, allocations: 132.8 kB / 415.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.2453, allocations: 276.9 kB / 415.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.2453, allocations: 33.7 kB / 415.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.2454, allocations: 112.1 kB / 415.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.2455, allocations: 23.77 kB / 415.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.018e-05/0.2455, allocations: 33.67 kB / 415.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2457, allocations: 330.8 kB / 416.1 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.209e-05/0.2457, allocations: 27.98 kB / 416.2 MB, free: 9.926 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.031e-05/0.2458, allocations: 62 kB / 416.2 MB, free: 9.844 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.246, allocations: 80.5 kB / 416.3 MB, free: 9.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.246, allocations: 8 kB / 416.3 MB, free: 9.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002394/0.2462, allocations: 105.5 kB / 416.4 MB, free: 9.633 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2462, allocations: 8 kB / 416.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2463, allocations: 3.984 kB / 416.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.2463, allocations: 0 / 416.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.23e-05/0.2463, allocations: 16.12 kB / 416.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.2464, allocations: 4 kB / 416.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.314e-05/0.2464, allocations: 15.83 kB / 416.4 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.2464, allocations: 7.984 kB / 416.5 MB, free: 9.578 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.2466, allocations: 149.8 kB / 416.6 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.939e-05/0.2467, allocations: 57.55 kB / 416.7 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.2467, allocations: 29.69 kB / 416.7 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2467, allocations: 4 kB / 416.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2467, allocations: 4.062 kB / 416.7 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.2467, allocations: 3.938 kB / 416.7 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.247, allocations: 233.6 kB / 416.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.247, allocations: 0 / 416.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.023e-05/0.247, allocations: 8 kB / 416.9 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.247, allocations: 0 / 416.9 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.2471, allocations: 4 kB / 416.9 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2471, allocations: 0 / 416.9 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2471, allocations: 0 / 416.9 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.2473, allocations: 162.6 kB / 417.1 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.733e-05/0.2474, allocations: 108.9 kB / 417.2 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.2474, allocations: 4 kB / 417.2 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.604e-05/0.2475, allocations: 7.984 kB / 417.2 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.2475, allocations: 8 kB / 417.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.2476, allocations: 8 kB / 417.2 MB, free: 8.691 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002214/0.2478, allocations: 208.5 kB / 417.4 MB, free: 8.488 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2478, allocations: 0 / 417.4 MB, free: 8.488 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.248, allocations: 32.02 kB / 417.5 MB, free: 8.457 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001827/0.2499, allocations: 1.003 MB / 418.5 MB, free: 7.578 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.2501, allocations: 63.91 kB / 418.5 MB, free: 7.516 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2501, allocations: 0 / 418.5 MB, free: 7.516 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.444e-05/0.2502, allocations: 24 kB / 418.6 MB, free: 7.492 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.2506, allocations: 80.81 kB / 418.6 MB, free: 7.422 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.2528, allocations: 1.952 MB / 420.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.2531, allocations: 0.728 MB / 421.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.79e-05/0.2532, allocations: 21.53 kB / 421.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.785e-05/0.2533, allocations: 55.41 kB / 421.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2533, allocations: 0 / 421.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.047/1.3, allocations: 4.643 MB / 426 MB, free: 36 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.888/10.19, allocations: 4.062 kB / 426 MB, free: 32 kB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1)