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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009791/0.0009791, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9331/0.9331, allocations: 177.2 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5645/0.5645, allocations: 114 MB / 373.9 MB, free: 8.688 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.5542 GB, free: 1.664 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.745e-05, allocations: 4.797 kB / 0.5542 GB, free: 1.66 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.002783/0.002811, allocations: 1.776 MB / 0.5559 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.004258, allocations: 1.122 MB / 0.557 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.004366, allocations: 7.938 kB / 0.557 GB, free: 14.74 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006608/0.005027, allocations: 171.4 kB / 0.5572 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003819/0.005408, allocations: 155.4 kB / 0.5573 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.005831, allocations: 151.3 kB / 0.5575 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.006118, allocations: 183.5 kB / 0.5577 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.006238, allocations: 13.31 kB / 0.5577 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.006399, allocations: 95.72 kB / 0.5578 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.00651, allocations: 67.86 kB / 0.5578 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.006531, allocations: 12 kB / 0.5578 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.006702, allocations: 71.81 kB / 0.5579 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.7e-05/0.006779, allocations: 43.84 kB / 0.558 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.182e-05/0.006841, allocations: 39.84 kB / 0.558 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.00716, allocations: 199.4 kB / 0.5582 GB, free: 13.56 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.007166, allocations: 3.984 kB / 0.5582 GB, free: 13.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.007167, allocations: 0 / 0.5582 GB, free: 13.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.007174, allocations: 0 / 0.5582 GB, free: 13.56 MB / 490.7 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.0006628/0.007836, allocations: 430.8 kB / 0.5586 GB, free: 13.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.007881, allocations: 12.62 kB / 0.5586 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.413e-05/0.007915, allocations: 46.73 kB / 0.5587 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.466e-05/0.00797, allocations: 16.84 kB / 0.5587 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.008218, allocations: 189.4 kB / 0.5588 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.008233, allocations: 4.375 kB / 0.5589 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.008244, allocations: 384 / 0.5589 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.0084, allocations: 89.84 kB / 0.5589 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.008406, allocations: 0 / 0.5589 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.008416, allocations: 3.938 kB / 0.5589 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.008427, allocations: 4 kB / 0.5589 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.765e-05/0.008495, allocations: 35.97 kB / 0.559 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.008923, allocations: 331.7 kB / 0.5593 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.009063, allocations: 74.61 kB / 0.5594 GB, free: 12.22 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/0.009108, allocations: 32.84 kB / 0.5594 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.009123, allocations: 0 / 0.5594 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.00927, allocations: 83.31 kB / 0.5595 GB, free: 12.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.009271, allocations: 4 kB / 0.5595 GB, free: 12.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003078/0.009579, allocations: 141.6 kB / 0.5596 GB, free: 11.94 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.009616, allocations: 55.41 kB / 0.5597 GB, free: 11.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.009837, allocations: 279.8 kB / 0.5599 GB, free: 11.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.009854, allocations: 29.7 kB / 0.56 GB, free: 11.56 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.053e-05/0.009934, allocations: 116.1 kB / 0.5601 GB, free: 11.44 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.009965, allocations: 27.84 kB / 0.5601 GB, free: 11.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.01001, allocations: 29.7 kB / 0.5601 GB, free: 11.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.01011, allocations: 326.8 kB / 0.5604 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.754e-05/0.01017, allocations: 31.98 kB / 0.5605 GB, free: 11.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.932e-05/0.01025, allocations: 80.25 kB / 0.5606 GB, free: 10.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.01035, allocations: 89.97 kB / 0.5606 GB, free: 10.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01036, allocations: 0 / 0.5606 GB, free: 10.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001531/0.01051, allocations: 113.5 kB / 0.5607 GB, free: 10.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.01053, allocations: 8 kB / 0.5608 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.01053, allocations: 0 / 0.5608 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.01055, allocations: 0 / 0.5608 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.01062, allocations: 15.98 kB / 0.5608 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.01062, allocations: 112 / 0.5608 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.819e-05/0.01066, allocations: 15.83 kB / 0.5608 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-06/0.01067, allocations: 0 / 0.5608 GB, free: 10.68 MB / 490.7 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.0001016/0.01077, allocations: 149.8 kB / 0.5609 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.01079, allocations: 15.91 kB / 0.5609 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004369/0.01122, allocations: 131.2 kB / 0.5611 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.01123, allocations: 4 kB / 0.5611 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.01124, allocations: 0 / 0.5611 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01124, allocations: 0 / 0.5611 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.01139, allocations: 200.6 kB / 0.5613 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01139, allocations: 0 / 0.5613 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.982e-05/0.01141, allocations: 7.984 kB / 0.5613 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.01141, allocations: 4 kB / 0.5613 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.01142, allocations: 0 / 0.5613 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01142, allocations: 4 kB / 0.5613 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01142, allocations: 80 / 0.5613 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.01157, allocations: 164.3 kB / 0.5614 GB, free: 9.938 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.539e-05/0.01159, allocations: 27.8 kB / 0.5615 GB, free: 9.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.01161, allocations: 0 / 0.5615 GB, free: 9.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.481e-05/0.01163, allocations: 4 kB / 0.5615 GB, free: 9.906 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.01167, allocations: 3.984 kB / 0.5615 GB, free: 9.902 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-06/0.01168, allocations: 8 kB / 0.5615 GB, free: 9.895 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001312/0.01181, allocations: 204.6 kB / 0.5617 GB, free: 9.695 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01181, allocations: 8 kB / 0.5617 GB, free: 9.688 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000189/0.012, allocations: 27.94 kB / 0.5617 GB, free: 9.66 MB / 490.7 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.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * 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 (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.00106/0.01306, allocations: 1.03 MB / 0.5627 GB, free: 8.816 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.01325, allocations: 67.97 kB / 0.5628 GB, free: 8.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01325, allocations: 0 / 0.5628 GB, free: 8.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.942e-05/0.0133, allocations: 39.92 kB / 0.5628 GB, free: 8.711 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.01352, allocations: 51.14 kB / 0.5629 GB, free: 8.664 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.01518, allocations: 2.017 MB / 0.5648 GB, free: 6.566 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.124e-05/0.01526, allocations: 118.7 kB / 0.5649 GB, free: 6.426 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.989e-05/0.01533, allocations: 25.78 kB / 0.565 GB, free: 6.402 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.763e-05/0.0154, allocations: 48.48 kB / 0.565 GB, free: 6.355 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/0.0154, allocations: 0 / 0.565 GB, free: 6.355 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.03567, allocations: 5.422 MB / 0.5703 GB, free: 1.035 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.951/6.987, allocations: 8.703 kB / 0.5703 GB, free: 1.027 MB / 490.7 MB " [Timeout remaining time 653] (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 --stepSize=0.24 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.523292373865843] Failed to read output from testmodel.py, exit status != 0: 7.0881900023669 7.102480362 7.092343105 Calling exit ...