Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.001261/0.001261, 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.001564/0.001564, 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.8927/0.8927, 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.5595/0.5595, allocations: 114 MB / 373.9 MB, free: 8.703 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.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5542 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.355e-05, allocations: 3.828 kB / 0.5542 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.4914/0.4914, allocations: 214.2 MB / 0.7634 GB, free: 32.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01151/0.5029, allocations: 8.036 MB / 0.7713 GB, free: 27.91 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002601/0.5055, allocations: 90.03 kB / 0.7713 GB, free: 27.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003123/0.5086, allocations: 1.063 MB / 0.7724 GB, free: 27.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008628/0.5173, allocations: 3.285 MB / 0.7756 GB, free: 26.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.008294/0.5256, allocations: 3.624 MB / 0.7791 GB, free: 24.48 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005975/0.5315, allocations: 3.917 MB / 0.783 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002125/0.5337, allocations: 1.037 MB / 0.784 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006309/0.54, allocations: 2.782 MB / 0.7867 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002629/0.5426, allocations: 1.238 MB / 0.7879 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003856/0.543, allocations: 134.9 kB / 0.788 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00611/0.5491, allocations: 3.223 MB / 0.7912 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.5501, allocations: 0.6456 MB / 0.7918 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001356/0.5515, allocations: 0.6745 MB / 0.7925 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.008945/0.5604, allocations: 3.86 MB / 0.7962 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.5604, allocations: 0 / 0.7962 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5604, allocations: 0 / 0.7962 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.268e-05/0.5605, allocations: 0 / 0.7962 GB, free: 17.68 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.004992/0.5655, allocations: 2.62 MB / 0.7988 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.5655, allocations: 11.12 kB / 0.7988 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001762/0.5657, allocations: 191 kB / 0.799 GB, free: 16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003927/0.5696, allocations: 1.15 MB / 0.8001 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/0.5717, allocations: 1.131 MB / 0.8012 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.291e-05/0.5718, allocations: 100.1 kB / 0.8013 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.5719, allocations: 134 kB / 0.8014 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.5744, allocations: 1.958 MB / 0.8033 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.5744, allocations: 6 kB / 0.8033 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.835e-05/0.5745, allocations: 54.06 kB / 0.8034 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.321e-05/0.5746, allocations: 61.3 kB / 0.8035 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002835/0.5774, allocations: 1.904 MB / 0.8053 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006853/0.5842, allocations: 6.777 MB / 0.8119 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.5864, allocations: 1.462 MB / 0.8134 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.5874, allocations: 0.7514 MB / 0.8141 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005261/0.588, allocations: 199.8 kB / 0.8143 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/0.5891, allocations: 0.8898 MB / 0.8152 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=106): time 3.918e-06/0.5891, allocations: 4 kB / 0.8152 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of matching and sorting (n=106): time 0.003858/0.593, allocations: 2.408 MB / 0.8175 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.593, allocations: 69.56 kB / 0.8176 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.5947, allocations: 1.772 MB / 0.8193 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.5948, allocations: 47.45 kB / 0.8194 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.5952, allocations: 0.8379 MB / 0.8202 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002816/0.5955, allocations: 387.3 kB / 0.8205 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.5957, allocations: 239.7 kB / 0.8208 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.452e-05/0.5958, allocations: 357 kB / 0.8211 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000951/0.5967, allocations: 0.6731 MB / 0.8218 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.5979, allocations: 1.285 MB / 0.823 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.6001, allocations: 1.728 MB / 0.8247 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.6001, allocations: 2.938 kB / 0.8247 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003079/0.6032, allocations: 1.95 MB / 0.8266 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.6032, allocations: 9.031 kB / 0.8266 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.6032, allocations: 11.16 kB / 0.8266 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.6032, allocations: 16.72 kB / 0.8267 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008779/0.6041, allocations: 362.5 kB / 0.827 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/0.6041, allocations: 24.61 kB / 0.827 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.6054, allocations: 251.8 kB / 0.8273 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.579e-05/0.6054, allocations: 70.88 kB / 0.8273 GB, free: 15.72 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (157): * Single equations (assignments): 157 * 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.0006495/0.6061, allocations: 402.5 kB / 0.8277 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.6063, allocations: 201.2 kB / 0.8279 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002688/0.609, allocations: 1.866 MB / 0.8297 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.609, allocations: 10.34 kB / 0.8297 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.609, allocations: 0 / 0.8297 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.6091, allocations: 14.12 kB / 0.8297 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005749/0.6148, allocations: 3.852 MB / 0.8335 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.6148, allocations: 8 kB / 0.8335 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000871/0.6157, allocations: 269 kB / 0.8338 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.569e-05/0.6157, allocations: 16 kB / 0.8338 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.91e-05/0.6158, allocations: 43.09 kB / 0.8338 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.537e-05/0.6158, allocations: 18.52 kB / 0.8338 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.6158, allocations: 10.53 kB / 0.8339 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004603/0.6204, allocations: 2.973 MB / 0.8368 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.6214, allocations: 334.3 kB / 0.8371 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.6217, allocations: 31.92 kB / 0.8371 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008634/0.6225, allocations: 131.8 kB / 0.8372 GB, free: 7.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.6227, allocations: 89.95 kB / 0.8373 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.839e-05/0.6228, allocations: 51.97 kB / 0.8374 GB, free: 7.027 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001419/0.6242, allocations: 1.201 MB / 0.8385 GB, free: 5.805 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/0.6242, allocations: 0 / 0.8385 GB, free: 5.805 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001344/0.6256, allocations: 471.5 kB / 0.839 GB, free: 5.344 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (112): * Single equations (assignments): 106 * 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.00531/0.6309, allocations: 4.04 MB / 0.8429 GB, free: 1.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002675/0.6335, allocations: 1.606 MB / 0.8445 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/0.6335, allocations: 256 / 0.8445 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.6348, allocations: 0.8074 MB / 0.8453 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/0.6377, allocations: 0.9528 MB / 0.8462 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/0.6579, allocations: 14.78 MB / 0.8607 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006339/0.6586, allocations: 0.7908 MB / 0.8614 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001687/0.6602, allocations: 466.8 kB / 0.8619 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008583/0.6611, allocations: 0.719 MB / 0.8626 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.823e-06/0.6611, allocations: 0 / 0.8626 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07572/0.7368, allocations: 55.04 MB / 0.9163 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.722/9.459, allocations: 3.984 kB / 0.9163 GB, free: 6.758 MB / 0.7292 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.11941946297884] Failed to read output from testmodel.py, exit status != 0: 9.587531672790647 9.60021324 9.037617767 Calling exit ...