Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.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.001313/0.001313, 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.0008714/0.0008714, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.914/0.914, allocations: 177.1 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.5958/0.5958, allocations: 114 MB / 373.9 MB, free: 8.707 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.IntegerReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.946e-05, allocations: 4.672 kB / 0.5542 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002477/0.002497, allocations: 1.775 MB / 0.5559 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.004004, allocations: 1.188 MB / 0.5571 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.004107, allocations: 3.938 kB / 0.5571 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003421/0.004449, allocations: 59.67 kB / 0.5572 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000352/0.004801, allocations: 127.3 kB / 0.5573 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000535/0.005336, allocations: 191.3 kB / 0.5575 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.00556, allocations: 159.6 kB / 0.5576 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.005666, allocations: 9.641 kB / 0.5576 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.005786, allocations: 91.67 kB / 0.5577 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.00589, allocations: 63.86 kB / 0.5578 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.005909, allocations: 8 kB / 0.5578 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.006064, allocations: 79.86 kB / 0.5579 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.347e-05/0.006147, allocations: 43.84 kB / 0.5579 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.006199, allocations: 35.86 kB / 0.5579 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.006479, allocations: 211.3 kB / 0.5581 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.006481, allocations: 3.938 kB / 0.5581 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.162e-06/0.006482, allocations: 0 / 0.5581 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.006487, allocations: 0 / 0.5581 GB, free: 14.7 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005559/0.007043, allocations: 434.8 kB / 0.5586 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.007098, allocations: 12.03 kB / 0.5586 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.007141, allocations: 38.75 kB / 0.5586 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.007199, allocations: 20.84 kB / 0.5586 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.007488, allocations: 201.3 kB / 0.5588 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.007501, allocations: 384 / 0.5588 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.007514, allocations: 4.375 kB / 0.5588 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.007704, allocations: 117.4 kB / 0.5589 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.007711, allocations: 0 / 0.5589 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.007724, allocations: 0 / 0.5589 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.007736, allocations: 4 kB / 0.5589 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.007814, allocations: 43.91 kB / 0.559 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.008301, allocations: 315.8 kB / 0.5593 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.008462, allocations: 86.69 kB / 0.5594 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.00851, allocations: 32.84 kB / 0.5594 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.008527, allocations: 7.969 kB / 0.5594 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.008672, allocations: 83.36 kB / 0.5595 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.008673, allocations: 0 / 0.5595 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0002716/0.008945, allocations: 141.5 kB / 0.5596 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.008992, allocations: 89.09 kB / 0.5597 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.009195, allocations: 271.9 kB / 0.56 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.009212, allocations: 29.7 kB / 0.56 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.009281, allocations: 124.1 kB / 0.5601 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.009303, allocations: 15.91 kB / 0.5601 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.009342, allocations: 29.69 kB / 0.5601 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.00944, allocations: 330.8 kB / 0.5605 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.411e-05/0.009494, allocations: 27.98 kB / 0.5605 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.496e-05/0.009579, allocations: 122.8 kB / 0.5606 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.009e-05/0.009669, allocations: 77.92 kB / 0.5607 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.009671, allocations: 0 / 0.5607 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001466/0.009817, allocations: 129.4 kB / 0.5608 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.009831, allocations: 4 kB / 0.5608 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.009837, allocations: 0 / 0.5608 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.009849, allocations: 4 kB / 0.5608 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/0.009915, allocations: 11.98 kB / 0.5608 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.009921, allocations: 4 kB / 0.5608 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/0.009963, allocations: 3.938 kB / 0.5608 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.009971, allocations: 8.031 kB / 0.5608 GB, free: 11.69 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.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 9.744e-05/0.01007, allocations: 145.8 kB / 0.561 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/0.01009, allocations: 15.91 kB / 0.561 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.01027, allocations: 131 kB / 0.5611 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.01028, allocations: 0 / 0.5611 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.01028, allocations: 4 kB / 0.5611 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01029, allocations: 0 / 0.5611 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.01043, allocations: 196.6 kB / 0.5613 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01043, allocations: 4 kB / 0.5613 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.611e-05/0.01046, allocations: 4 kB / 0.5613 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.01046, allocations: 8 kB / 0.5613 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.01047, allocations: 0 / 0.5613 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01047, allocations: 0 / 0.5613 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01047, allocations: 0 / 0.5613 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.01063, allocations: 152.9 kB / 0.5615 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.01065, allocations: 19.89 kB / 0.5615 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.01067, allocations: 4 kB / 0.5615 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.537e-05/0.01069, allocations: 4 kB / 0.5615 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.01073, allocations: 7.984 kB / 0.5615 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.01075, allocations: 8.172 kB / 0.5615 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001212/0.01087, allocations: 204.6 kB / 0.5617 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.01087, allocations: 3.938 kB / 0.5617 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001875/0.01106, allocations: 43.91 kB / 0.5618 GB, free: 10.67 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.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.001023/0.01208, allocations: 1.035 MB / 0.5628 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000162/0.01224, allocations: 71.84 kB / 0.5628 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.01224, allocations: 0 / 0.5628 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.31e-05/0.0123, allocations: 43.91 kB / 0.5629 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.01249, allocations: 41.3 kB / 0.5629 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.01425, allocations: 2.011 MB / 0.5649 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.01435, allocations: 114.8 kB / 0.565 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.152e-05/0.01443, allocations: 33.77 kB / 0.565 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.819e-05/0.01451, allocations: 48.48 kB / 0.5651 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of SimCode: time 2.9e-07/0.01451, allocations: 0 / 0.5651 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.03878, allocations: 5.613 MB / 0.5705 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.19/7.228, allocations: 14.42 kB / 0.5706 GB, free: 1.836 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.854630363173783] Failed to read output from testmodel.py, exit status != 0: 7.3282652869820595 7.341331667 7.33264219 Calling exit ...