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.001315/0.001315, allocations: 109 kB / 20.48 MB, free: 1.473 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.001451/0.001451, allocations: 210.7 kB / 23.79 MB, free: 4.684 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.445/1.445, allocations: 230.6 MB / 257.6 MB, free: 8 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 0.9286/0.9286, allocations: 150 MB / 464 MB, free: 10.51 MB / 366.1 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.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.002043/0.002043, allocations: 63.66 kB / 0.6421 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1847, allocations: 89.17 MB / 0.7291 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6469/0.8316, allocations: 246.4 MB / 0.9698 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01593/0.8475, allocations: 8.564 MB / 0.9782 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002177/0.8497, allocations: 99.12 kB / 0.9783 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003379/0.8531, allocations: 1.087 MB / 0.9793 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.009589/0.8627, allocations: 3.263 MB / 0.9825 GB, free: 3.605 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.009547/0.8722, allocations: 3.613 MB / 0.986 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006721/0.8789, allocations: 4.054 MB / 0.99 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002819/0.8818, allocations: 1.145 MB / 0.9911 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006424/0.8882, allocations: 2.351 MB / 0.9934 GB, free: 8.375 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003738/0.8919, allocations: 1.479 MB / 0.9948 GB, free: 6.891 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0007665/0.8927, allocations: 132 kB / 0.995 GB, free: 6.762 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01132/0.904, allocations: 4.275 MB / 0.9991 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001786/0.9058, allocations: 0.619 MB / 0.9998 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003238/0.909, allocations: 1.006 MB / 1.001 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.9199, allocations: 3.936 MB / 1.005 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.9199, allocations: 0 / 1.005 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9199, allocations: 0 / 1.005 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001106/0.92, allocations: 0 / 1.005 GB, free: 12.9 MB / 0.7794 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.008376/0.9284, allocations: 2.689 MB / 1.007 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.9285, allocations: 8.031 kB / 1.007 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.581e-05/0.9285, allocations: 34.59 kB / 1.007 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004589/0.929, allocations: 199.1 kB / 1.007 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009128/0.9381, allocations: 1.333 MB / 1.009 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003388/0.9415, allocations: 1.2 MB / 1.01 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.9416, allocations: 98.53 kB / 1.01 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005054/0.9422, allocations: 136 kB / 1.01 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006034/0.9482, allocations: 2.076 MB / 1.012 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/0.9482, allocations: 3.938 kB / 1.012 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002503/0.9485, allocations: 56 kB / 1.012 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.563e-05/0.9486, allocations: 62.47 kB / 1.012 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007032/0.9556, allocations: 2.184 MB / 1.014 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01533/0.9709, allocations: 8.32 MB / 1.023 GB, free: 9.746 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005621/0.9766, allocations: 1.808 MB / 1.024 GB, free: 7.926 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002892/0.9795, allocations: 0.9249 MB / 1.025 GB, free: 7 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/0.9805, allocations: 208.7 kB / 1.025 GB, free: 6.793 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003239/0.9837, allocations: 1.059 MB / 1.026 GB, free: 5.723 MB / 0.795 GB Notification: Performance of pre-optimization done (n=119): time 3.747e-06/0.9837, allocations: 3.938 kB / 1.026 GB, free: 5.719 MB / 0.795 GB Notification: Performance of matching and sorting (n=119): time 0.009956/0.9937, allocations: 2.88 MB / 1.029 GB, free: 2.832 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.176e-05/0.9938, allocations: 68.34 kB / 1.029 GB, free: 2.75 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/0.9968, allocations: 1.656 MB / 1.031 GB, free: 1.094 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002801/0.9971, allocations: 53.7 kB / 1.031 GB, free: 1.035 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008928/0.998, allocations: 0.8094 MB / 1.032 GB, free: 224 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006932/0.9987, allocations: 432.3 kB / 1.032 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006066/0.9993, allocations: 242.9 kB / 1.032 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.9995, allocations: 353.9 kB / 1.033 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002731/1.002, allocations: 0.8261 MB / 1.034 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003131/1.005, allocations: 1.135 MB / 1.035 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005674/1.011, allocations: 1.93 MB / 1.037 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/1.011, allocations: 4 kB / 1.037 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006913/1.018, allocations: 2.194 MB / 1.039 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/1.018, allocations: 11.98 kB / 1.039 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/1.018, allocations: 8.844 kB / 1.039 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.504e-05/1.018, allocations: 12 kB / 1.039 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/1.02, allocations: 415.9 kB / 1.039 GB, free: 8.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-05/1.02, allocations: 19.94 kB / 1.039 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/1.023, allocations: 286.6 kB / 1.039 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002919/1.023, allocations: 64.97 kB / 1.039 GB, free: 8.074 MB / 0.8106 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.001113/1.024, allocations: 395.4 kB / 1.04 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005928/1.025, allocations: 206.6 kB / 1.04 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006722/1.032, allocations: 2.198 MB / 1.042 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/1.032, allocations: 12 kB / 1.042 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/1.032, allocations: 0 / 1.042 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/1.032, allocations: 3.984 kB / 1.042 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/1.043, allocations: 4.467 MB / 1.047 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/1.043, allocations: 4 kB / 1.047 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002147/1.045, allocations: 343.5 kB / 1.047 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-05/1.045, allocations: 12 kB / 1.047 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001874/1.045, allocations: 43.97 kB / 1.047 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.806e-05/1.045, allocations: 11.94 kB / 1.047 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/1.045, allocations: 11.94 kB / 1.047 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009422/1.054, allocations: 3.469 MB / 1.05 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/1.055, allocations: 349.2 kB / 1.051 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004638/1.056, allocations: 32 kB / 1.051 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/1.058, allocations: 167.8 kB / 1.051 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/1.058, allocations: 104.6 kB / 1.051 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001633/1.058, allocations: 55.97 kB / 1.051 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001983/1.06, allocations: 1.131 MB / 1.052 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/1.06, allocations: 96 / 1.052 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001923/1.062, allocations: 499.4 kB / 1.053 GB, free: 10.36 MB / 0.8262 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 (122): * Single equations (assignments): 116 * 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.01177/1.074, allocations: 4.498 MB / 1.057 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.006049/1.08, allocations: 1.903 MB / 1.059 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/1.08, allocations: 0 / 1.059 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.003016/1.083, allocations: 0.9635 MB / 1.06 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005021/1.088, allocations: 0.9534 MB / 1.061 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04109/1.129, allocations: 16.11 MB / 1.076 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/1.131, allocations: 1.384 MB / 1.078 GB, free: 12 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.3302/1.461, allocations: 478.6 kB / 1.078 GB, free: 294.9 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/1.462, allocations: 0.7347 MB / 1.079 GB, free: 294.9 MB / 0.8419 GB Notification: Performance of SimCode: time 1.363e-06/1.462, allocations: 0 / 1.079 GB, free: 294.9 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1053/1.567, allocations: 52.19 MB / 1.13 GB, free: 274.4 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.42/24.98, allocations: 4.062 kB / 1.13 GB, free: 274.4 MB / 0.8419 GB " [Timeout remaining time 635] (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: 29.005674102983903] Failed to read output from testmodel.py, exit status != 0: 25.233899125945754 25.252097823 24.328070077 Calling exit ...