Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7387/0.7387, allocations: 127.4 MB / 134.9 MB, free: 3.453 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 177 kB / 164.6 MB, free: 11.63 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.814/1.814, allocations: 205.2 MB / 399.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008852/0.0008849, allocations: 84.92 kB / 476.7 MB, free: 1.547 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.593e-05/2.596e-05, allocations: 5.375 kB / 0.5467 GB, free: 95.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1986, allocations: 76.77 MB / 0.6216 GB, free: 43.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1521/0.3508, allocations: 105.8 MB / 0.725 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/0.3511, allocations: 87.94 kB / 0.7251 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01487/0.366, allocations: 5.371 MB / 0.7303 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.725e-06/0.3661, allocations: 4 kB / 0.7303 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.3661, allocations: 0 / 0.7303 GB, free: 11.61 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.0006077/0.3667, allocations: 451.9 kB / 0.7308 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.3668, allocations: 12.03 kB / 0.7308 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/0.3669, allocations: 23.75 kB / 0.7308 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.3673, allocations: 251.6 kB / 0.731 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.3673, allocations: 8 kB / 0.731 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.3674, allocations: 4 kB / 0.731 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000115/0.3675, allocations: 31.98 kB / 0.7311 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.3676, allocations: 83.33 kB / 0.7312 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3677, allocations: 0 / 0.7312 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3677, allocations: 0 / 0.7312 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.3677, allocations: 4 kB / 0.7312 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005678/0.3683, allocations: 341.2 kB / 0.7315 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.3684, allocations: 70.69 kB / 0.7316 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.201e-05/0.3685, allocations: 40.94 kB / 0.7316 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.3685, allocations: 0 / 0.7316 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.3687, allocations: 87.31 kB / 0.7317 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 2.936e-06/0.3687, allocations: 3.984 kB / 0.7317 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0003457/0.3691, allocations: 117.4 kB / 0.7318 GB, free: 9.938 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.3691, allocations: 77.11 kB / 0.7319 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.3694, allocations: 229.9 kB / 0.7321 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.3694, allocations: 25.7 kB / 0.7321 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.3695, allocations: 120.1 kB / 0.7322 GB, free: 9.461 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.3695, allocations: 23.66 kB / 0.7322 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.3696, allocations: 0 / 0.7322 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3697, allocations: 330.8 kB / 0.7326 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.185e-05/0.3697, allocations: 23.98 kB / 0.7326 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.468e-05/0.3698, allocations: 55.42 kB / 0.7326 GB, free: 9.016 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.618e-05/0.3699, allocations: 31.98 kB / 0.7327 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3699, allocations: 8.031 kB / 0.7327 GB, free: 8.977 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001778/0.3701, allocations: 113.5 kB / 0.7328 GB, free: 8.859 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3701, allocations: 4 kB / 0.7328 GB, free: 8.855 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3701, allocations: 0 / 0.7328 GB, free: 8.855 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3701, allocations: 0 / 0.7328 GB, free: 8.855 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.252e-05/0.3702, allocations: 19.92 kB / 0.7328 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3702, allocations: 3.953 kB / 0.7328 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.293e-05/0.3703, allocations: 7.906 kB / 0.7328 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.3703, allocations: 4 kB / 0.7328 GB, free: 8.82 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 9.025e-05/0.3704, allocations: 113 kB / 0.7329 GB, free: 8.703 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001774/0.3706, allocations: 121.4 kB / 0.733 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.3706, allocations: 19.8 kB / 0.7331 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.3709, allocations: 115.5 kB / 0.7332 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.3709, allocations: 7.953 kB / 0.7332 GB, free: 8.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3709, allocations: 0 / 0.7332 GB, free: 8.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3709, allocations: 0 / 0.7332 GB, free: 8.43 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.3711, allocations: 206.1 kB / 0.7334 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3711, allocations: 0 / 0.7334 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.3711, allocations: 8 kB / 0.7334 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3711, allocations: 0 / 0.7334 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3712, allocations: 3.984 kB / 0.7334 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3712, allocations: 4 kB / 0.7334 GB, free: 8.176 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.3712, allocations: 7.938 kB / 0.7334 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.3714, allocations: 140.8 kB / 0.7335 GB, free: 8.012 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.037e-05/0.3715, allocations: 104.8 kB / 0.7336 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.3715, allocations: 4 kB / 0.7336 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.733e-05/0.3716, allocations: 11.98 kB / 0.7336 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.3716, allocations: 4 kB / 0.7337 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.3717, allocations: 4 kB / 0.7337 GB, free: 7.867 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001894/0.3719, allocations: 192.3 kB / 0.7338 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3719, allocations: 0 / 0.7338 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002486/0.3721, allocations: 39.98 kB / 0.7339 GB, free: 7.641 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.001244/0.3734, allocations: 0.9386 MB / 0.7348 GB, free: 6.758 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001771/0.3736, allocations: 71.92 kB / 0.7349 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.3736, allocations: 4 kB / 0.7349 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.445e-05/0.3736, allocations: 36.05 kB / 0.7349 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.3739, allocations: 32.98 kB / 0.7349 GB, free: 6.617 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005811/0.3745, allocations: 286.7 kB / 0.7352 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.3748, allocations: 0.7395 MB / 0.7359 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.502e-05/0.3749, allocations: 25.5 kB / 0.736 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.375, allocations: 51.41 kB / 0.736 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/0.375, allocations: 0 / 0.736 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.3985, allocations: 3.641 MB / 0.7396 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.3988, allocations: 185.6 kB / 0.7397 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.021, allocations: 0 / 0.7397 GB, free: 1.637 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)