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.001301/0.001301, allocations: 99.28 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 183.5 kB / 16.92 MB, free: 6.754 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.446/1.446, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7391/0.7391, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003628, allocations: 8 kB / 496 MB, free: 6.254 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1658, allocations: 77.53 MB / 0.56 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.002313/0.1681, allocations: 1.479 MB / 0.5615 GB, free: 7.438 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.17, allocations: 0.9832 MB / 0.5624 GB, free: 6.445 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.1701, allocations: 7.938 kB / 0.5625 GB, free: 6.438 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000702/0.1708, allocations: 155.7 kB / 0.5626 GB, free: 6.285 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.1712, allocations: 107.7 kB / 0.5627 GB, free: 6.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005553/0.1717, allocations: 146.4 kB / 0.5628 GB, free: 6.043 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.1721, allocations: 163.6 kB / 0.563 GB, free: 5.883 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1722, allocations: 25.11 kB / 0.563 GB, free: 5.859 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.1724, allocations: 67.62 kB / 0.5631 GB, free: 5.793 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.1725, allocations: 59.75 kB / 0.5631 GB, free: 5.734 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.1726, allocations: 4 kB / 0.5632 GB, free: 5.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.1728, allocations: 59.91 kB / 0.5632 GB, free: 5.672 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.125e-05/0.1729, allocations: 35.91 kB / 0.5632 GB, free: 5.637 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.173, allocations: 77.31 kB / 0.5633 GB, free: 5.555 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.1733, allocations: 187.6 kB / 0.5635 GB, free: 5.371 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1733, allocations: 0 / 0.5635 GB, free: 5.371 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1733, allocations: 0 / 0.5635 GB, free: 5.371 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1734, allocations: 0 / 0.5635 GB, free: 5.371 MB / 430.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.0006702/0.174, allocations: 478.1 kB / 0.564 GB, free: 4.852 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1741, allocations: 19.97 kB / 0.564 GB, free: 4.832 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.939e-05/0.1741, allocations: 34.73 kB / 0.564 GB, free: 4.789 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.1742, allocations: 24.64 kB / 0.564 GB, free: 4.766 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.1745, allocations: 244.9 kB / 0.5643 GB, free: 4.484 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1745, allocations: 384 / 0.5643 GB, free: 4.484 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.1745, allocations: 11.94 kB / 0.5643 GB, free: 4.473 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.1747, allocations: 87.31 kB / 0.5644 GB, free: 4.375 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.1747, allocations: 0 / 0.5644 GB, free: 4.375 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1747, allocations: 4 kB / 0.5644 GB, free: 4.371 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.1748, allocations: 8 kB / 0.5644 GB, free: 4.363 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.68e-05/0.1749, allocations: 35.97 kB / 0.5644 GB, free: 4.328 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005959/0.1755, allocations: 356.6 kB / 0.5647 GB, free: 3.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.1757, allocations: 74.67 kB / 0.5648 GB, free: 3.848 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.372e-05/0.1758, allocations: 32.84 kB / 0.5648 GB, free: 3.812 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1758, allocations: 0 / 0.5648 GB, free: 3.812 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.176, allocations: 87.31 kB / 0.5649 GB, free: 3.715 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.754e-06/0.176, allocations: 0 / 0.5649 GB, free: 3.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003652/0.1764, allocations: 141.4 kB / 0.5651 GB, free: 3.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.1764, allocations: 85.22 kB / 0.5651 GB, free: 3.469 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.1768, allocations: 266.6 kB / 0.5654 GB, free: 3.199 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1768, allocations: 33.7 kB / 0.5654 GB, free: 3.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.752e-05/0.1769, allocations: 112.1 kB / 0.5655 GB, free: 3.047 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.1769, allocations: 31.62 kB / 0.5656 GB, free: 3.016 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.177, allocations: 17.72 kB / 0.5656 GB, free: 2.992 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1771, allocations: 330.8 kB / 0.5659 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.566e-05/0.1771, allocations: 27.98 kB / 0.5659 GB, free: 2.633 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.534e-05/0.1772, allocations: 59.7 kB / 0.566 GB, free: 2.562 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1774, allocations: 77.67 kB / 0.5661 GB, free: 2.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1774, allocations: 0 / 0.5661 GB, free: 2.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002012/0.1776, allocations: 113.4 kB / 0.5662 GB, free: 2.363 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1776, allocations: 8 kB / 0.5662 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1776, allocations: 0 / 0.5662 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1776, allocations: 4.062 kB / 0.5662 GB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.355e-05/0.1777, allocations: 11.98 kB / 0.5662 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1777, allocations: 4 kB / 0.5662 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.1778, allocations: 11.84 kB / 0.5662 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1778, allocations: 4 kB / 0.5662 GB, free: 2.32 MB / 430.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.0001229/0.1779, allocations: 145.8 kB / 0.5663 GB, free: 2.168 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.178, allocations: 19.8 kB / 0.5664 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/0.178, allocations: 13.41 kB / 0.5664 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.178, allocations: 8 kB / 0.5664 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1781, allocations: 0 / 0.5664 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.1781, allocations: 7.922 kB / 0.5664 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.1783, allocations: 225.5 kB / 0.5666 GB, free: 1.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1783, allocations: 4 kB / 0.5666 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.1783, allocations: 0 / 0.5666 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.1783, allocations: 4 kB / 0.5666 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.1783, allocations: 0 / 0.5666 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1783, allocations: 3.938 kB / 0.5666 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1783, allocations: 0 / 0.5666 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.1786, allocations: 156.7 kB / 0.5668 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.1786, allocations: 92.92 kB / 0.5669 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.1787, allocations: 0 / 0.5669 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.799e-05/0.1787, allocations: 15.97 kB / 0.5669 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.1788, allocations: 7.938 kB / 0.5669 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.1788, allocations: 3.984 kB / 0.5669 GB, free: 1.531 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.179, allocations: 196.4 kB / 0.5671 GB, free: 1.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.179, allocations: 4 kB / 0.5671 GB, free: 1.336 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.1792, allocations: 27.91 kB / 0.5671 GB, free: 1.309 MB / 430.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.001342/0.1806, allocations: 0.9947 MB / 0.5681 GB, free: 476 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.1808, allocations: 79.91 kB / 0.5682 GB, free: 396 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1808, allocations: 0 / 0.5682 GB, free: 396 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.82e-05/0.1809, allocations: 31.98 kB / 0.5682 GB, free: 364 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.1812, allocations: 39.08 kB / 0.5682 GB, free: 328 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.1834, allocations: 1.976 MB / 0.5701 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.1837, allocations: 0.7321 MB / 0.5709 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.733e-05/0.1837, allocations: 21.72 kB / 0.5709 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.428e-05/0.1838, allocations: 43.42 kB / 0.5709 GB, free: 13.43 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1838, allocations: 0 / 0.5709 GB, free: 13.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.1987, allocations: 4.005 MB / 0.5748 GB, free: 9.574 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/0.1989, allocations: 240 kB / 0.5751 GB, free: 9.316 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.122, allocations: 3.938 kB / 0.5751 GB, free: 9.312 MB / 446.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)