Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 106.4 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 193.2 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.908/1.908, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8736/0.8736, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 69.27 kB / 0.5572 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1622, allocations: 76.17 MB / 0.6316 GB, free: 4.891 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003921/0.1662, allocations: 1.775 MB / 0.6333 GB, free: 3.102 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.1682, allocations: 1.022 MB / 0.6343 GB, free: 2.07 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.1683, allocations: 3.938 kB / 0.6343 GB, free: 2.066 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007505/0.1691, allocations: 167.5 kB / 0.6345 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.1695, allocations: 114.5 kB / 0.6346 GB, free: 1.793 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005698/0.1701, allocations: 178.5 kB / 0.6348 GB, free: 1.621 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000295/0.1704, allocations: 163.6 kB / 0.6349 GB, free: 1.461 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1705, allocations: 25.11 kB / 0.6349 GB, free: 1.438 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.1707, allocations: 71.69 kB / 0.635 GB, free: 1.367 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.1708, allocations: 67.7 kB / 0.6351 GB, free: 1.301 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.1708, allocations: 8 kB / 0.6351 GB, free: 1.293 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.171, allocations: 63.89 kB / 0.6351 GB, free: 1.23 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.634e-05/0.1711, allocations: 43.84 kB / 0.6352 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.544e-05/0.1712, allocations: 59.66 kB / 0.6352 GB, free: 1.129 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.1716, allocations: 202.8 kB / 0.6354 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1716, allocations: 7.938 kB / 0.6354 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1716, allocations: 0 / 0.6354 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1716, allocations: 0 / 0.6354 GB, free: 0.9258 MB / 478.1 MB 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.0009908/0.1726, allocations: 484.6 kB / 0.6359 GB, free: 408 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.1727, allocations: 12.03 kB / 0.6359 GB, free: 396 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.364e-05/0.1727, allocations: 38.73 kB / 0.636 GB, free: 348 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.55e-05/0.1728, allocations: 16.75 kB / 0.636 GB, free: 332 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.1732, allocations: 252.8 kB / 0.6362 GB, free: 36 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.1733, allocations: 4.375 kB / 0.6362 GB, free: 32 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.1733, allocations: 3.938 kB / 0.6362 GB, free: 28 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.1736, allocations: 99.31 kB / 0.6363 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1736, allocations: 0 / 0.6363 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.1736, allocations: 0 / 0.6363 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/0.1736, allocations: 7.984 kB / 0.6363 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.1738, allocations: 31.92 kB / 0.6364 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007302/0.1745, allocations: 356.7 kB / 0.6367 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.1748, allocations: 82.59 kB / 0.6368 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.867e-05/0.1749, allocations: 32.84 kB / 0.6368 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.1749, allocations: 0 / 0.6368 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/0.1752, allocations: 87.38 kB / 0.6369 GB, free: 15.26 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 2.345e-06/0.1752, allocations: 0 / 0.6369 GB, free: 15.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.000467/0.1757, allocations: 141.7 kB / 0.637 GB, free: 15.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.1757, allocations: 77.11 kB / 0.6371 GB, free: 15.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.1761, allocations: 266.8 kB / 0.6373 GB, free: 14.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.1762, allocations: 37.62 kB / 0.6374 GB, free: 14.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.1763, allocations: 116.1 kB / 0.6375 GB, free: 14.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.1763, allocations: 31.64 kB / 0.6375 GB, free: 14.56 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.74e-05/0.1764, allocations: 25.7 kB / 0.6375 GB, free: 14.53 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1766, allocations: 326.8 kB / 0.6379 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.373e-05/0.1767, allocations: 27.98 kB / 0.6379 GB, free: 14.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.955e-05/0.1768, allocations: 59.36 kB / 0.6379 GB, free: 14.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.1769, allocations: 77.72 kB / 0.638 GB, free: 14.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1769, allocations: 0 / 0.638 GB, free: 14.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002774/0.1772, allocations: 117.4 kB / 0.6381 GB, free: 13.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.1773, allocations: 6.031 kB / 0.6381 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.1773, allocations: 112 / 0.6381 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.1773, allocations: 3.938 kB / 0.6381 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/0.1774, allocations: 15.94 kB / 0.6382 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1774, allocations: 0 / 0.6382 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.855e-05/0.1775, allocations: 15.86 kB / 0.6382 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.1775, allocations: 4.031 kB / 0.6382 GB, free: 13.86 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002053/0.1777, allocations: 141.8 kB / 0.6383 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.1778, allocations: 15.81 kB / 0.6383 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.426e-05/0.1779, allocations: 17.39 kB / 0.6383 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.1779, allocations: 4 kB / 0.6383 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1779, allocations: 0 / 0.6383 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1779, allocations: 3.938 kB / 0.6383 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.1781, allocations: 229.5 kB / 0.6386 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1782, allocations: 0 / 0.6386 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.722e-05/0.1782, allocations: 8.094 kB / 0.6386 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1782, allocations: 3.938 kB / 0.6386 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.1782, allocations: 4 kB / 0.6386 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1782, allocations: 0 / 0.6386 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1782, allocations: 0 / 0.6386 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.1785, allocations: 152.8 kB / 0.6387 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.071e-05/0.1786, allocations: 88.92 kB / 0.6388 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.1787, allocations: 3.984 kB / 0.6388 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.103e-05/0.1787, allocations: 8 kB / 0.6388 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.1788, allocations: 11.94 kB / 0.6388 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.1788, allocations: 3.984 kB / 0.6388 GB, free: 13.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002137/0.179, allocations: 196.2 kB / 0.639 GB, free: 12.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.179, allocations: 4 kB / 0.639 GB, free: 12.87 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002956/0.1793, allocations: 28 kB / 0.6391 GB, free: 12.84 MB / 494.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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * 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.001743/0.1811, allocations: 1.002 MB / 0.64 GB, free: 11.97 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002475/0.1813, allocations: 75.91 kB / 0.6401 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1814, allocations: 0 / 0.6401 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.167e-05/0.1815, allocations: 35.92 kB / 0.6401 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.1818, allocations: 48.97 kB / 0.6402 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.1848, allocations: 1.95 MB / 0.6421 GB, free: 9.793 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.1852, allocations: 0.724 MB / 0.6428 GB, free: 9.043 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.1853, allocations: 25.41 kB / 0.6428 GB, free: 9.016 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.789e-05/0.1854, allocations: 55.36 kB / 0.6429 GB, free: 8.965 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1855, allocations: 0 / 0.6429 GB, free: 8.965 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7172/0.9027, allocations: 4.544 MB / 0.6473 GB, free: 4.527 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.95/15.85, allocations: 9.812 kB / 0.6473 GB, free: 4.52 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)