Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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.001356/0.001356, allocations: 97.91 kB / 20.48 MB, free: 1.363 MB / 14.72 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.002346/0.002346, allocations: 215.2 kB / 23.78 MB, free: 4.523 MB / 14.72 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 1.422/1.422, allocations: 230.6 MB / 257.6 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 1.072/1.072, allocations: 150 MB / 464 MB, free: 10.22 MB / 366.1 MB " [Timeout remaining time 178] 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.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 62.7 kB / 0.642 GB, free: 9.812 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1783, allocations: 89.18 MB / 0.7291 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6196/0.798, allocations: 214.5 MB / 0.9385 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01366/0.8116, allocations: 8.033 MB / 0.9464 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/0.8134, allocations: 99.06 kB / 0.9465 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002585/0.8159, allocations: 1.056 MB / 0.9475 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008404/0.8244, allocations: 3.22 MB / 0.9507 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008446/0.8328, allocations: 3.507 MB / 0.9541 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006939/0.8397, allocations: 4.061 MB / 0.958 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/0.8422, allocations: 1.13 MB / 0.9591 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005976/0.8481, allocations: 2.355 MB / 0.9614 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003249/0.8514, allocations: 1.483 MB / 0.9629 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004379/0.8518, allocations: 136 kB / 0.963 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008594/0.8604, allocations: 3.222 MB / 0.9662 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001467/0.8619, allocations: 0.6229 MB / 0.9668 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001721/0.8636, allocations: 0.8357 MB / 0.9676 GB, free: 320 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.008951/0.8726, allocations: 3.784 MB / 0.9713 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.8726, allocations: 4 kB / 0.9713 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8726, allocations: 0 / 0.9713 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.826e-05/0.8726, allocations: 0 / 0.9713 GB, free: 12.51 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.006747/0.8794, allocations: 2.682 MB / 0.9739 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.8794, allocations: 8.031 kB / 0.9739 GB, free: 9.77 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.323e-05/0.8795, allocations: 34.59 kB / 0.974 GB, free: 9.734 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002557/0.8797, allocations: 203.1 kB / 0.9741 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008725/0.8885, allocations: 1.329 MB / 0.9754 GB, free: 8.195 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002573/0.891, allocations: 1.177 MB / 0.9766 GB, free: 6.973 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.682e-05/0.8911, allocations: 110.5 kB / 0.9767 GB, free: 6.863 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002775/0.8914, allocations: 128 kB / 0.9768 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004783/0.8962, allocations: 2.078 MB / 0.9789 GB, free: 4.559 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.8962, allocations: 8.625 kB / 0.9789 GB, free: 4.551 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/0.8964, allocations: 55.98 kB / 0.9789 GB, free: 4.496 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.6e-05/0.8964, allocations: 58.47 kB / 0.979 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005979/0.9024, allocations: 2.199 MB / 0.9811 GB, free: 2.23 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01185/0.9143, allocations: 6.474 MB / 0.9874 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00505/0.9193, allocations: 1.82 MB / 0.9892 GB, free: 9.75 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002503/0.9218, allocations: 0.9328 MB / 0.9901 GB, free: 8.812 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/0.9228, allocations: 200.8 kB / 0.9903 GB, free: 8.617 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002821/0.9257, allocations: 1.071 MB / 0.9914 GB, free: 7.535 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=119): time 3.807e-06/0.9257, allocations: 0 / 0.9914 GB, free: 7.535 MB / 0.7637 GB Notification: Performance of matching and sorting (n=119): time 0.00895/0.9346, allocations: 2.904 MB / 0.9942 GB, free: 4.621 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.9347, allocations: 64.41 kB / 0.9943 GB, free: 4.547 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00247/0.9372, allocations: 1.679 MB / 0.9959 GB, free: 2.867 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.000219/0.9374, allocations: 49.7 kB / 0.996 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008157/0.9382, allocations: 0.8172 MB / 0.9967 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005634/0.9388, allocations: 440.2 kB / 0.9972 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004676/0.9392, allocations: 242.8 kB / 0.9974 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.9394, allocations: 357.9 kB / 0.9977 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002431/0.9418, allocations: 0.8261 MB / 0.9985 GB, free: 132 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002865/0.9447, allocations: 1.376 MB / 0.9999 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004924/0.9496, allocations: 1.938 MB / 1.002 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.986e-06/0.9496, allocations: 4 kB / 1.002 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.005928/0.9556, allocations: 2.206 MB / 1.004 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.9556, allocations: 8.938 kB / 1.004 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.9556, allocations: 8 kB / 1.004 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.075e-05/0.9556, allocations: 20 kB / 1.004 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002132/0.9578, allocations: 411.3 kB / 1.004 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.769e-05/0.9578, allocations: 21.38 kB / 1.004 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.9599, allocations: 282.7 kB / 1.005 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.96, allocations: 67.97 kB / 1.005 GB, free: 9.516 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 161 * 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 0.0007705/0.9608, allocations: 403.3 kB / 1.005 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000365/0.9612, allocations: 202.7 kB / 1.005 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005869/0.967, allocations: 2.215 MB / 1.007 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.9671, allocations: 12 kB / 1.007 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.9671, allocations: 0 / 1.007 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.9671, allocations: 3.984 kB / 1.007 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/0.9772, allocations: 4.303 MB / 1.012 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.9772, allocations: 4 kB / 1.012 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/0.9792, allocations: 348.6 kB / 1.012 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-05/0.9792, allocations: 12 kB / 1.012 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/0.9794, allocations: 47.97 kB / 1.012 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.936e-05/0.9794, allocations: 15.94 kB / 1.012 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/0.9794, allocations: 19.5 kB / 1.012 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008778/0.9882, allocations: 3.516 MB / 1.016 GB, free: 14.18 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.9893, allocations: 342.3 kB / 1.016 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003242/0.9896, allocations: 28 kB / 1.016 GB, free: 13.82 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001742/0.9913, allocations: 167.8 kB / 1.016 GB, free: 13.65 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/0.9916, allocations: 104.7 kB / 1.016 GB, free: 13.55 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.9917, allocations: 55.97 kB / 1.016 GB, free: 13.49 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001729/0.9934, allocations: 1.154 MB / 1.017 GB, free: 12.35 MB / 0.795 GB Notification: Performance of sort global known variables: time 8e-08/0.9934, allocations: 0 / 1.017 GB, free: 12.35 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001484/0.9949, allocations: 495.5 kB / 1.018 GB, free: 11.86 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.01068/1.006, allocations: 4.575 MB / 1.022 GB, free: 7.402 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00556/1.011, allocations: 1.919 MB / 1.024 GB, free: 5.484 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/1.011, allocations: 4 kB / 1.024 GB, free: 5.48 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002798/1.014, allocations: 0.9791 MB / 1.025 GB, free: 4.504 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004652/1.019, allocations: 0.9495 MB / 1.026 GB, free: 3.578 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04006/1.059, allocations: 16.16 MB / 1.042 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009248/1.06, allocations: 0.8117 MB / 1.043 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002004/1.062, allocations: 478.6 kB / 1.043 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/1.063, allocations: 0.7297 MB / 1.044 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of SimCode: time 9.52e-07/1.063, allocations: 0 / 1.044 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5188/1.582, allocations: 55.6 MB / 1.098 GB, free: 130.4 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.09/17.67, allocations: 4.406 kB / 1.098 GB, free: 130.4 MB / 0.8575 GB " [Timeout remaining time 642] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.820373822934926] Failed to read output from testmodel.py, exit status != 0: 17.926557837054133 17.950536504 17.07318079 Calling exit ...