Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009428/0.0009429, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7051/0.7051, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.876/1.876, allocations: 221.3 MB / 400.4 MB, free: 5.812 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009722/0.0009721, allocations: 87.84 kB / 483.3 MB, free: 5.844 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.045e-05/4.066e-05, allocations: 2.844 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1753, allocations: 82.3 MB / 0.6405 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6249/0.8003, allocations: 115.7 MB / 0.7535 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.8006, allocations: 83.31 kB / 0.7536 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01471/0.8154, allocations: 5.552 MB / 0.759 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8154, allocations: 3.75 kB / 0.759 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.374e-05/0.8154, allocations: 7.938 kB / 0.759 GB, free: 26.65 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006502/0.8161, allocations: 460.1 kB / 0.7594 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.8162, allocations: 11.5 kB / 0.7594 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.966e-05/0.8162, allocations: 33.44 kB / 0.7595 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.423e-05/0.8163, allocations: 15.53 kB / 0.7595 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.8167, allocations: 257 kB / 0.7597 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.8167, allocations: 6.594 kB / 0.7597 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.8167, allocations: 7.953 kB / 0.7597 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.8169, allocations: 90.81 kB / 0.7598 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.8169, allocations: 0 / 0.7598 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.817, allocations: 3.312 kB / 0.7598 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.817, allocations: 3.844 kB / 0.7598 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.715e-05/0.8171, allocations: 32.52 kB / 0.7599 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.8176, allocations: 365.9 kB / 0.7602 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.8178, allocations: 69.88 kB / 0.7603 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.045e-05/0.8178, allocations: 33.84 kB / 0.7603 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.8178, allocations: 7.812 kB / 0.7603 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.818, allocations: 84.19 kB / 0.7604 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 2.024e-06/0.818, allocations: 3.844 kB / 0.7604 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0002536/0.8183, allocations: 108.8 kB / 0.7605 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.8183, allocations: 81.06 kB / 0.7606 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.8186, allocations: 249.5 kB / 0.7608 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.8187, allocations: 28.33 kB / 0.7609 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.932e-05/0.8187, allocations: 121.1 kB / 0.761 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.8188, allocations: 26.45 kB / 0.761 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.8188, allocations: 3 kB / 0.761 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.8189, allocations: 328.4 kB / 0.7613 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.931e-05/0.819, allocations: 28.27 kB / 0.7613 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.5e-05/0.8191, allocations: 54.3 kB / 0.7614 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.708e-05/0.8191, allocations: 36.95 kB / 0.7614 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.8191, allocations: 0 / 0.7614 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001645/0.8193, allocations: 114.7 kB / 0.7615 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.8193, allocations: 3.812 kB / 0.7615 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.8194, allocations: 112 / 0.7615 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.8194, allocations: 7.844 kB / 0.7615 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.8195, allocations: 11.75 kB / 0.7616 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.8195, allocations: 0 / 0.7616 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.702e-05/0.8195, allocations: 15.84 kB / 0.7616 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.8196, allocations: 3.938 kB / 0.7616 GB, free: 24.58 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.944e-05/0.8197, allocations: 124 kB / 0.7617 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.8197, allocations: 15.44 kB / 0.7617 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.8199, allocations: 123.6 kB / 0.7618 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.8199, allocations: 0 / 0.7618 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.8199, allocations: 0 / 0.7618 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.8199, allocations: 7.828 kB / 0.7618 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.8201, allocations: 234.1 kB / 0.7621 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8201, allocations: 0 / 0.7621 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.778e-05/0.8202, allocations: 7.969 kB / 0.7621 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.8202, allocations: 0 / 0.7621 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.8202, allocations: 3 kB / 0.7621 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.8202, allocations: 3.938 kB / 0.7621 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.8202, allocations: 7.984 kB / 0.7621 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.8204, allocations: 152.6 kB / 0.7622 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.32e-05/0.8205, allocations: 104.2 kB / 0.7623 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.8205, allocations: 0 / 0.7623 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.604e-05/0.8206, allocations: 7.938 kB / 0.7623 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.8206, allocations: 15.45 kB / 0.7623 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.8206, allocations: 0 / 0.7623 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001751/0.8208, allocations: 194.4 kB / 0.7625 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8208, allocations: 0 / 0.7625 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002486/0.8211, allocations: 42.31 kB / 0.7626 GB, free: 23.87 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00128/0.8224, allocations: 0.9772 MB / 0.7635 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001819/0.8226, allocations: 72.92 kB / 0.7636 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.8226, allocations: 0 / 0.7636 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.351e-05/0.8227, allocations: 40.16 kB / 0.7636 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.8229, allocations: 33.83 kB / 0.7637 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005682/0.8235, allocations: 296.3 kB / 0.7639 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.8238, allocations: 0.733 MB / 0.7647 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.049e-05/0.8239, allocations: 20.58 kB / 0.7647 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.542e-05/0.824, allocations: 50.48 kB / 0.7647 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of SimCode: time 4.61e-07/0.824, allocations: 0 / 0.7647 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.84, allocations: 4.057 MB / 0.7687 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/0.8402, allocations: 182.2 kB / 0.7689 GB, free: 20.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.59, allocations: 0 / 0.7689 GB, free: 20.02 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)