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.TickBasedStep.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.TickBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001757/0.001757, 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.002032/0.002032, allocations: 200.7 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.396/1.396, allocations: 227.7 MB / 247.2 MB, free: 10.16 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.002086/0.002087, allocations: 67.91 kB / 358.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2627, allocations: 50.55 MB / 409.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003257/0.2661, allocations: 1.425 MB / 410.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002067/0.2663, allocations: 39.84 kB / 410.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.487e-05/0.2664, allocations: 4 kB / 410.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.881e-05/0.2664, allocations: 3.938 kB / 410.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.776e-05/0.2665, allocations: 0 / 410.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.2668, allocations: 19.97 kB / 410.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.756e-05/0.2669, allocations: 27.92 kB / 410.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.607e-05/0.267, allocations: 8 kB / 410.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.303e-05/0.267, allocations: 15.92 kB / 410.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.2671, allocations: 19.91 kB / 410.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.2671, allocations: 4 kB / 410.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-06/0.2671, allocations: 0 / 410.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.2671, allocations: 12 kB / 410.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.2672, allocations: 7.938 kB / 410.6 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.873e-05/0.2673, allocations: 27.84 kB / 410.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2673, allocations: 0 / 410.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.2673, allocations: 3.984 kB / 410.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.2673, allocations: 0 / 410.7 MB, free: 15.76 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004644/0.2678, allocations: 346.5 kB / 411 MB, free: 15.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.2678, allocations: 12.03 kB / 411 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.664e-05/0.2678, allocations: 34.73 kB / 411.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.2679, allocations: 4.938 kB / 411.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.2681, allocations: 184.3 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.2682, allocations: 384 / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.2682, allocations: 4.375 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.2685, allocations: 111.9 kB / 411.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2685, allocations: 3.938 kB / 411.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.2686, allocations: 3.984 kB / 411.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.2686, allocations: 7.938 kB / 411.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.2687, allocations: 23.92 kB / 411.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.2689, allocations: 157.7 kB / 411.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.269, allocations: 46.56 kB / 411.6 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.607e-05/0.2691, allocations: 24.92 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.2691, allocations: 0 / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.2692, allocations: 38.56 kB / 411.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.2692, allocations: 0 / 411.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002769/0.2694, allocations: 89.48 kB / 411.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.2695, allocations: 51.41 kB / 411.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.2696, allocations: 105.8 kB / 411.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.2696, allocations: 25.7 kB / 411.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.2697, allocations: 80.14 kB / 412 MB, free: 14.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.2697, allocations: 7.938 kB / 412 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.2697, allocations: 17.72 kB / 412 MB, free: 14.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.2699, allocations: 322.8 kB / 412.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.2699, allocations: 0 / 412.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.271e-05/0.27, allocations: 31.69 kB / 412.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.809e-05/0.27, allocations: 43.48 kB / 412.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.2701, allocations: 4 kB / 412.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.424e-05/0.2702, allocations: 61.53 kB / 412.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2702, allocations: 15.92 kB / 412.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2702, allocations: 0 / 412.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2702, allocations: 0 / 412.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.948e-05/0.2703, allocations: 4 kB / 412.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2703, allocations: 4.125 kB / 412.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.968e-05/0.2703, allocations: 4 kB / 412.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.2703, allocations: 4 kB / 412.5 MB, free: 13.66 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0002159/0.2705, allocations: 113.8 kB / 412.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.2707, allocations: 65.55 kB / 412.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.2707, allocations: 7.5 kB / 412.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2707, allocations: 0 / 412.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.2707, allocations: 0 / 412.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2707, allocations: 0 / 412.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.2709, allocations: 161.7 kB / 412.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2709, allocations: 0 / 412.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/0.271, allocations: 4 kB / 412.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.271, allocations: 3.938 kB / 412.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.271, allocations: 3.938 kB / 412.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.271, allocations: 0 / 412.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.271, allocations: 0 / 412.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.2713, allocations: 101.2 kB / 413 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.2713, allocations: 77.11 kB / 413 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.2713, allocations: 11.94 kB / 413 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.608e-05/0.2714, allocations: 3.938 kB / 413.1 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-06/0.2714, allocations: 0 / 413.1 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.2714, allocations: 4 kB / 413.1 MB, free: 13 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.153e-05/0.2715, allocations: 87.27 kB / 413.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2715, allocations: 0 / 413.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002117/0.2717, allocations: 4 kB / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.000746/0.2724, allocations: 0.6436 MB / 413.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.2726, allocations: 27.92 kB / 413.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.2726, allocations: 4 kB / 413.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.2726, allocations: 0 / 413.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.2729, allocations: 25.42 kB / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.274, allocations: 1.166 MB / 415 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.2743, allocations: 0.6807 MB / 415.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.645e-05/0.2744, allocations: 0 / 415.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.2744, allocations: 11.44 kB / 415.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2744, allocations: 4 kB / 415.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.2978, allocations: 1.316 MB / 417 MB, free: 9.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.204, allocations: 7.734 kB / 417 MB, free: 9.016 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1)