Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.0007983/0.0007983, 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.0008358/0.0008358, 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.8906/0.8906, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.5464/0.5464, allocations: 114 MB / 373.9 MB, free: 8.711 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.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.886e-06/2.886e-06, allocations: 0 / 0.5542 GB, free: 1.715 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.935e-05/2.223e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.711 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00139/0.001412, allocations: 0.6303 MB / 0.5548 GB, free: 1.082 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.000871/0.002283, allocations: 0.8237 MB / 0.5556 GB, free: 252 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.655e-05/0.00233, allocations: 0 / 0.5556 GB, free: 252 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 9.443e-05/0.002424, allocations: 0 / 0.5556 GB, free: 252 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 1.949e-05/0.002444, allocations: 7.938 kB / 0.5556 GB, free: 244 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001066/0.00255, allocations: 7.984 kB / 0.5556 GB, free: 236 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 6.751e-05/0.002618, allocations: 27.92 kB / 0.5556 GB, free: 208 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.822e-05/0.002706, allocations: 3.984 kB / 0.5556 GB, free: 204 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.812e-05/0.002764, allocations: 19.92 kB / 0.5557 GB, free: 184 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.392e-05/0.002808, allocations: 8 kB / 0.5557 GB, free: 176 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.002827, allocations: 4 kB / 0.5557 GB, free: 172 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.381e-06/0.002833, allocations: 0 / 0.5557 GB, free: 172 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.002884, allocations: 11.98 kB / 0.5557 GB, free: 160 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.00291, allocations: 7.938 kB / 0.5557 GB, free: 152 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 7.413e-05/0.002984, allocations: 27.94 kB / 0.5557 GB, free: 124 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002985, allocations: 0 / 0.5557 GB, free: 124 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.002987, allocations: 0 / 0.5557 GB, free: 124 kB / 474.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.002991, allocations: 4 kB / 0.5557 GB, free: 120 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003299/0.003321, allocations: 271.1 kB / 0.556 GB, free: 15.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.003359, allocations: 12.61 kB / 0.556 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.725e-05/0.003386, allocations: 34.75 kB / 0.556 GB, free: 15.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.961e-05/0.003406, allocations: 8.875 kB / 0.556 GB, free: 15.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.00351, allocations: 109.8 kB / 0.5561 GB, free: 15.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.00352, allocations: 8.312 kB / 0.5561 GB, free: 15.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-06/0.003526, allocations: 384 / 0.5561 GB, free: 15.62 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.003652, allocations: 54.23 kB / 0.5562 GB, free: 15.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.003659, allocations: 192 / 0.5562 GB, free: 15.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.003666, allocations: 384 / 0.5562 GB, free: 15.56 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.003672, allocations: 8.125 kB / 0.5562 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.547e-05/0.003757, allocations: 39.95 kB / 0.5562 GB, free: 15.51 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.004039, allocations: 236 kB / 0.5565 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.711e-05/0.004106, allocations: 38.48 kB / 0.5565 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/0.004149, allocations: 16.91 kB / 0.5565 GB, free: 15.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.00416, allocations: 7.984 kB / 0.5565 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.004179, allocations: 34.56 kB / 0.5566 GB, free: 15.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.323e-06/0.00418, allocations: 3.938 kB / 0.5566 GB, free: 15.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002041/0.004384, allocations: 81.58 kB / 0.5566 GB, free: 15.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.004413, allocations: 51.41 kB / 0.5567 GB, free: 14.97 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.839e-05/0.004472, allocations: 101.9 kB / 0.5568 GB, free: 14.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.004481, allocations: 25.7 kB / 0.5568 GB, free: 14.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.004523, allocations: 88.08 kB / 0.5569 GB, free: 14.74 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.004537, allocations: 8.062 kB / 0.5569 GB, free: 14.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.004562, allocations: 13.72 kB / 0.5569 GB, free: 14.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.34e-05/0.004635, allocations: 314.8 kB / 0.5572 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.863e-05/0.004684, allocations: 11.98 kB / 0.5572 GB, free: 14.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.663e-05/0.004721, allocations: 23.97 kB / 0.5573 GB, free: 14.36 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.134e-05/0.004792, allocations: 28.83 kB / 0.5573 GB, free: 14.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.004794, allocations: 4.062 kB / 0.5573 GB, free: 14.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001074/0.004902, allocations: 73.73 kB / 0.5574 GB, free: 14.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.004919, allocations: 9.406 kB / 0.5574 GB, free: 14.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.004924, allocations: 0 / 0.5574 GB, free: 14.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.004936, allocations: 4 kB / 0.5574 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.004998, allocations: 7.984 kB / 0.5574 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.005002, allocations: 0 / 0.5574 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.202e-05/0.005024, allocations: 4 kB / 0.5574 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.00503, allocations: 7.969 kB / 0.5574 GB, free: 14.21 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * 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 6.016e-05/0.005091, allocations: 117.8 kB / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.005103, allocations: 3.938 kB / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.641e-05/0.005119, allocations: 3.156 kB / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.005121, allocations: 0 / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.005126, allocations: 4 kB / 0.5575 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.005128, allocations: 0 / 0.5575 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.00523, allocations: 128.7 kB / 0.5576 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.005231, allocations: 0 / 0.5576 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.005258, allocations: 11.98 kB / 0.5576 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.005259, allocations: 4 kB / 0.5576 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.005266, allocations: 0 / 0.5576 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.005266, allocations: 0 / 0.5576 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.005267, allocations: 0 / 0.5576 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.005401, allocations: 167.4 kB / 0.5578 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-06/0.005407, allocations: 3.953 kB / 0.5578 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.796e-06/0.005416, allocations: 0 / 0.5578 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.488e-05/0.00545, allocations: 7.984 kB / 0.5578 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.005481, allocations: 4.031 kB / 0.5578 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.005483, allocations: 0 / 0.5578 GB, free: 13.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.714e-05/0.005511, allocations: 79.28 kB / 0.5579 GB, free: 13.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005511, allocations: 4 kB / 0.5579 GB, free: 13.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001499/0.00566, allocations: 11.94 kB / 0.5579 GB, free: 13.61 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0003053/0.005966, allocations: 0.6928 MB / 0.5586 GB, free: 12.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.006086, allocations: 36 kB / 0.5586 GB, free: 12.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.006087, allocations: 0 / 0.5586 GB, free: 12.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.502e-05/0.006122, allocations: 11.98 kB / 0.5586 GB, free: 12.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.006347, allocations: 8 kB / 0.5586 GB, free: 12.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000854/0.007201, allocations: 1.238 MB / 0.5599 GB, free: 11.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.259e-05/0.007244, allocations: 63.34 kB / 0.5599 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.741e-05/0.007271, allocations: 0 / 0.5599 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.007306, allocations: 8.5 kB / 0.5599 GB, free: 11.43 MB / 490.7 MB Notification: Performance of SimCode: time 4.81e-07/0.007306, allocations: 0 / 0.5599 GB, free: 11.43 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01522/0.02253, allocations: 1.972 MB / 0.5618 GB, free: 9.621 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.675/6.697, allocations: 7.922 kB / 0.5619 GB, free: 9.613 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.086104268208146] Failed to read output from testmodel.py, exit status != 0: 6.780099120922387 6.795209112 6.789552226 Calling exit ...