Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 106.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002455/0.002455, allocations: 293.5 kB / 303 MB, free: 9.57 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.242/1.242, allocations: 180.9 MB / 0.5261 GB, free: 14.73 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002743/0.002743, allocations: 104.1 kB / 0.7248 GB, free: 40.16 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1639, allocations: 94.16 MB / 0.8167 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.003151/0.167, allocations: 1.79 MB / 0.8185 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001747/0.1688, allocations: 1.035 MB / 0.8195 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.374e-05/0.1688, allocations: 7.938 kB / 0.8195 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005831/0.1694, allocations: 169.1 kB / 0.8197 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.1697, allocations: 119.6 kB / 0.8198 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.1701, allocations: 162.8 kB / 0.8199 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00022/0.1704, allocations: 167.6 kB / 0.8201 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.9e-05/0.1705, allocations: 12.88 kB / 0.8201 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.1706, allocations: 75.67 kB / 0.8202 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.1707, allocations: 71.75 kB / 0.8202 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.1707, allocations: 8 kB / 0.8202 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.1708, allocations: 67.89 kB / 0.8203 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/0.1709, allocations: 47.84 kB / 0.8204 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.319e-05/0.171, allocations: 59.59 kB / 0.8204 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.1713, allocations: 203.4 kB / 0.8206 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1713, allocations: 0 / 0.8206 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.41e-07/0.1713, allocations: 0 / 0.8206 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.1713, allocations: 0 / 0.8206 GB, free: 1.434 MB / 0.5606 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.0007407/0.1721, allocations: 0.4922 MB / 0.8211 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1721, allocations: 12.03 kB / 0.8211 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.1721, allocations: 34.75 kB / 0.8211 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.1722, allocations: 20.84 kB / 0.8212 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.1725, allocations: 252.9 kB / 0.8214 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1725, allocations: 8.297 kB / 0.8214 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.1725, allocations: 7.938 kB / 0.8214 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.1727, allocations: 83.39 kB / 0.8215 GB, free: 424 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1727, allocations: 0 / 0.8215 GB, free: 424 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.1728, allocations: 7.984 kB / 0.8215 GB, free: 416 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.1728, allocations: 0 / 0.8215 GB, free: 416 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.863e-05/0.1729, allocations: 43.92 kB / 0.8215 GB, free: 372 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/0.1734, allocations: 348.7 kB / 0.8219 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.1736, allocations: 70.56 kB / 0.8219 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.903e-05/0.1737, allocations: 32.84 kB / 0.822 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.1737, allocations: 4 kB / 0.822 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.1739, allocations: 83.33 kB / 0.8221 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.1739, allocations: 4 kB / 0.8221 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0003428/0.1742, allocations: 141.5 kB / 0.8222 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.1743, allocations: 81.11 kB / 0.8223 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.1745, allocations: 262.9 kB / 0.8225 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.1746, allocations: 29.7 kB / 0.8225 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.1746, allocations: 120.1 kB / 0.8227 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.1747, allocations: 27.78 kB / 0.8227 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.1747, allocations: 33.7 kB / 0.8227 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.1749, allocations: 326.8 kB / 0.823 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.766e-05/0.1749, allocations: 27.98 kB / 0.8231 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.157e-05/0.175, allocations: 59.34 kB / 0.8231 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.1752, allocations: 82.09 kB / 0.8232 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1752, allocations: 0 / 0.8232 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002054/0.1754, allocations: 113.5 kB / 0.8233 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1754, allocations: 8 kB / 0.8233 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1754, allocations: 0 / 0.8233 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1754, allocations: 0 / 0.8233 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.574e-05/0.1755, allocations: 11.94 kB / 0.8233 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.1755, allocations: 8 kB / 0.8233 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.112e-05/0.1755, allocations: 19.95 kB / 0.8233 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.1756, allocations: 0 / 0.8233 GB, free: 14.35 MB / 0.5762 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 ($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.0001352/0.1757, allocations: 138.9 kB / 0.8235 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.1757, allocations: 19.86 kB / 0.8235 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/0.1758, allocations: 21.39 kB / 0.8235 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.1758, allocations: 4 kB / 0.8235 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1758, allocations: 0 / 0.8235 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.1758, allocations: 3.938 kB / 0.8235 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.176, allocations: 225.5 kB / 0.8237 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.176, allocations: 0 / 0.8237 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.135e-05/0.176, allocations: 4 kB / 0.8237 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.176, allocations: 0 / 0.8237 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.176, allocations: 11.98 kB / 0.8238 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.176, allocations: 3.984 kB / 0.8238 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.176, allocations: 0 / 0.8238 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.1763, allocations: 140.9 kB / 0.8239 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.586e-05/0.1763, allocations: 97 kB / 0.824 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.1764, allocations: 8 kB / 0.824 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.947e-05/0.1764, allocations: 7.938 kB / 0.824 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.1764, allocations: 7.922 kB / 0.824 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.1765, allocations: 4 kB / 0.824 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001826/0.1766, allocations: 192.6 kB / 0.8242 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1766, allocations: 0 / 0.8242 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002367/0.1769, allocations: 31.89 kB / 0.8242 GB, free: 13.35 MB / 0.5762 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.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.001923/0.1788, allocations: 1.005 MB / 0.8252 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.179, allocations: 67.91 kB / 0.8253 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.179, allocations: 0 / 0.8253 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.806e-05/0.1791, allocations: 35.92 kB / 0.8253 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.1794, allocations: 48.66 kB / 0.8254 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.1816, allocations: 1.96 MB / 0.8273 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.182, allocations: 0.724 MB / 0.828 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.624e-05/0.182, allocations: 25.41 kB / 0.828 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.709e-05/0.1821, allocations: 47.42 kB / 0.828 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.1821, allocations: 0 / 0.828 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.2099, allocations: 4.555 MB / 0.8325 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/8.392, allocations: 6.406 kB / 0.8325 GB, free: 5.031 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.61250200169161] Failed to read output from testmodel.py, exit status != 0: 8.515893907286227 8.534295191 8.360103235 Calling exit ...