Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.000797/0.000797, allocations: 76.55 kB / 19.93 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.0008223/0.0008223, allocations: 177.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.9209/0.9209, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.5587/0.5587, allocations: 114 MB / 373.9 MB, free: 8.699 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.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 3.938 kB / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.109e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00517/0.005191, allocations: 4.376 MB / 0.5585 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0007653/0.005956, allocations: 0.7553 MB / 0.5592 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.604e-05/0.006022, allocations: 0 / 0.5592 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.006198, allocations: 27.83 kB / 0.5592 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.69e-05/0.006245, allocations: 35.66 kB / 0.5593 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000495/0.00674, allocations: 179.2 kB / 0.5594 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.006896, allocations: 187.3 kB / 0.5596 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.357e-05/0.00699, allocations: 5.312 kB / 0.5596 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.007189, allocations: 115.7 kB / 0.5597 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.055e-05/0.007269, allocations: 63.84 kB / 0.5598 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.007291, allocations: 16 kB / 0.5598 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.007525, allocations: 135.8 kB / 0.5599 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.235e-05/0.007557, allocations: 31.89 kB / 0.56 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.007602, allocations: 51.89 kB / 0.56 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.007892, allocations: 259.2 kB / 0.5603 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.007896, allocations: 3.938 kB / 0.5603 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.423e-06/0.007897, allocations: 0 / 0.5603 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.007902, allocations: 0 / 0.5603 GB, free: 12.54 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006332/0.008536, allocations: 405.5 kB / 0.5607 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.008577, allocations: 12.03 kB / 0.5607 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.008617, allocations: 38.69 kB / 0.5607 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.008654, allocations: 16.84 kB / 0.5607 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.822e-05/0.008753, allocations: 133.5 kB / 0.5609 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.008766, allocations: 8.375 kB / 0.5609 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.008785, allocations: 16.12 kB / 0.5609 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.009018, allocations: 121.5 kB / 0.561 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.009026, allocations: 0 / 0.561 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.009039, allocations: 4 kB / 0.561 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.009047, allocations: 4 kB / 0.561 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002353/0.009282, allocations: 141.9 kB / 0.5611 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006428/0.009925, allocations: 407.6 kB / 0.5615 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.01012, allocations: 118.5 kB / 0.5616 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.01023, allocations: 72.8 kB / 0.5617 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006698/0.0109, allocations: 472.1 kB / 0.5622 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.01092, allocations: 38.48 kB / 0.5622 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.01093, allocations: 0 / 0.5622 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.0004397/0.01136, allocations: 221.2 kB / 0.5624 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.0114, allocations: 51.41 kB / 0.5625 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.01153, allocations: 163.9 kB / 0.5626 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.01155, allocations: 33.7 kB / 0.5626 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/0.01161, allocations: 104.5 kB / 0.5627 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.01164, allocations: 43.62 kB / 0.5628 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/0.0117, allocations: 53.64 kB / 0.5628 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.787e-05/0.0118, allocations: 326.8 kB / 0.5631 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.01193, allocations: 71.94 kB / 0.5632 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.01208, allocations: 115.3 kB / 0.5633 GB, free: 9.199 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.01233, allocations: 174.5 kB / 0.5635 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01234, allocations: 0 / 0.5635 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003469/0.01268, allocations: 241.2 kB / 0.5637 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.0127, allocations: 11.94 kB / 0.5637 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.01271, allocations: 0 / 0.5637 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.01273, allocations: 0 / 0.5637 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.01289, allocations: 67.83 kB / 0.5638 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.0129, allocations: 96 / 0.5638 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.834e-05/0.01298, allocations: 39.77 kB / 0.5638 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.013, allocations: 8 kB / 0.5638 GB, free: 8.652 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 9.244e-05/0.0131, allocations: 121.8 kB / 0.564 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.01312, allocations: 15.83 kB / 0.564 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003094/0.01343, allocations: 175 kB / 0.5641 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01343, allocations: 7.984 kB / 0.5642 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01344, allocations: 0 / 0.5642 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.01344, allocations: 0 / 0.5642 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.01359, allocations: 172.7 kB / 0.5643 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01359, allocations: 0 / 0.5643 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.466e-05/0.01366, allocations: 27.97 kB / 0.5643 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.01366, allocations: 0 / 0.5643 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.01368, allocations: 11.94 kB / 0.5644 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01368, allocations: 0 / 0.5644 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.01368, allocations: 7.875 kB / 0.5644 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.01394, allocations: 259.4 kB / 0.5646 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.01398, allocations: 19.94 kB / 0.5646 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.01399, allocations: 7.938 kB / 0.5646 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.01407, allocations: 15.98 kB / 0.5646 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.01411, allocations: 7.984 kB / 0.5647 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.01412, allocations: 3.984 kB / 0.5647 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.188e-05/0.01418, allocations: 118.1 kB / 0.5648 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.01418, allocations: 4 kB / 0.5648 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002542/0.01443, allocations: 67.81 kB / 0.5648 GB, free: 7.547 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0009183/0.01535, allocations: 0.8519 MB / 0.5657 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003069/0.01566, allocations: 155.8 kB / 0.5658 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01566, allocations: 0 / 0.5658 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.01576, allocations: 72.08 kB / 0.5659 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.01611, allocations: 26.77 kB / 0.5659 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.01805, allocations: 1.947 MB / 0.5678 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.927e-05/0.01812, allocations: 93.75 kB / 0.5679 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.318e-05/0.0182, allocations: 17.14 kB / 0.5679 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.033e-05/0.01827, allocations: 44.47 kB / 0.568 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of SimCode: time 8.52e-07/0.01827, allocations: 0 / 0.568 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.03912, allocations: 5.078 MB / 0.5729 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.843/6.882, allocations: 5.625 kB / 0.5729 GB, free: 15.34 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.407484990544617] Failed to read output from testmodel.py, exit status != 0: 6.96588331181556 6.976643844 6.966691504 Calling exit ...