Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.001624/0.001624, allocations: 105 kB / 20.48 MB, free: 1.488 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.001598/0.001598, allocations: 213.8 kB / 23.79 MB, free: 4.703 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.488/1.488, allocations: 230.6 MB / 257.6 MB, free: 8.004 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.9639/0.9639, allocations: 150 MB / 464 MB, free: 10.98 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_Water,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.00218/0.00218, allocations: 59.84 kB / 0.6421 GB, free: 10.51 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1924, allocations: 89.17 MB / 0.7291 GB, free: 1.418 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.5079/0.7004, allocations: 55.78 MB / 0.7836 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01642/0.7168, allocations: 10.5 MB / 0.7939 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003041/0.7198, allocations: 95.5 kB / 0.794 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003041/0.7229, allocations: 0.9194 MB / 0.7949 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007636/0.7305, allocations: 2.087 MB / 0.7969 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007838/0.7383, allocations: 2.075 MB / 0.7989 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008299/0.7466, allocations: 3.838 MB / 0.8027 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002512/0.7491, allocations: 0.9878 MB / 0.8036 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005599/0.7547, allocations: 1.979 MB / 0.8056 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003094/0.7578, allocations: 1.265 MB / 0.8068 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005672/0.7584, allocations: 106.4 kB / 0.8069 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005084/0.7635, allocations: 1.377 MB / 0.8083 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007746/0.7643, allocations: 401.7 kB / 0.8086 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001852/0.7661, allocations: 0.859 MB / 0.8095 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006309/0.7724, allocations: 2.479 MB / 0.8119 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.7724, allocations: 1.219 kB / 0.8119 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7724, allocations: 4 kB / 0.8119 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.819e-05/0.7725, allocations: 0 / 0.8119 GB, free: 9.48 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004746/0.7772, allocations: 2.133 MB / 0.814 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.7773, allocations: 10.66 kB / 0.814 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.791e-05/0.7774, allocations: 31.92 kB / 0.814 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002007/0.7776, allocations: 159.4 kB / 0.8142 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003852/0.7814, allocations: 0.6623 MB / 0.8148 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00305/0.7845, allocations: 1.113 MB / 0.8159 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.67e-05/0.7846, allocations: 88.11 kB / 0.816 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/0.7848, allocations: 109.1 kB / 0.8161 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003408/0.7882, allocations: 1.496 MB / 0.8176 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.7882, allocations: 5.5 kB / 0.8176 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.7883, allocations: 52.73 kB / 0.8176 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.921e-05/0.7884, allocations: 29.41 kB / 0.8176 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003601/0.792, allocations: 1.216 MB / 0.8188 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/0.8035, allocations: 8.321 MB / 0.827 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003579/0.8071, allocations: 1.049 MB / 0.828 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.8088, allocations: 0.5245 MB / 0.8285 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/0.8099, allocations: 291.2 kB / 0.8288 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001954/0.8119, allocations: 0.6796 MB / 0.8294 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 3.757e-06/0.8119, allocations: 0 / 0.8294 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.005811/0.8177, allocations: 1.798 MB / 0.8312 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.8177, allocations: 64.72 kB / 0.8313 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/0.8199, allocations: 1.52 MB / 0.8327 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.82, allocations: 43.3 kB / 0.8328 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007343/0.8208, allocations: 0.8118 MB / 0.8336 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003252/0.8211, allocations: 304.3 kB / 0.8339 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003576/0.8214, allocations: 236.9 kB / 0.8341 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.8216, allocations: 341.9 kB / 0.8344 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.8232, allocations: 0.5257 MB / 0.8349 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/0.8252, allocations: 0.894 MB / 0.8358 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003474/0.8286, allocations: 1.416 MB / 0.8372 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.8287, allocations: 2.875 kB / 0.8372 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004458/0.8331, allocations: 1.61 MB / 0.8388 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.8331, allocations: 9.188 kB / 0.8388 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.8332, allocations: 11.56 kB / 0.8388 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.89e-05/0.8332, allocations: 20.75 kB / 0.8388 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.8345, allocations: 355.9 kB / 0.8391 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.974e-05/0.8346, allocations: 26.8 kB / 0.8392 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.8364, allocations: 223.9 kB / 0.8394 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.8365, allocations: 64.12 kB / 0.8394 GB, free: 5.562 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (140): * Single equations (assignments): 140 * 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.0007383/0.8373, allocations: 346.7 kB / 0.8398 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003929/0.8377, allocations: 183.5 kB / 0.8399 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005304/0.843, allocations: 2.156 MB / 0.8421 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.931e-05/0.843, allocations: 27.86 kB / 0.8421 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.843, allocations: 7.625 kB / 0.8421 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.843, allocations: 3.984 kB / 0.8421 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008082/0.8511, allocations: 3.345 MB / 0.8454 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.8511, allocations: 4.188 kB / 0.8454 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.8524, allocations: 235.7 kB / 0.8456 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.705e-05/0.8524, allocations: 4 kB / 0.8456 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.8525, allocations: 39.95 kB / 0.8456 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.128e-06/0.8525, allocations: 8 kB / 0.8456 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.8525, allocations: 0 / 0.8456 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007187/0.8597, allocations: 2.784 MB / 0.8484 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/0.8611, allocations: 326.2 kB / 0.8487 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006831/0.8618, allocations: 24 kB / 0.8487 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/0.8634, allocations: 127.8 kB / 0.8488 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/0.8636, allocations: 76.8 kB / 0.8489 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001874/0.8638, allocations: 55.89 kB / 0.8489 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002055/0.8658, allocations: 1.023 MB / 0.8499 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.8658, allocations: 4 kB / 0.8499 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00258/0.8684, allocations: 0.5535 MB / 0.8505 GB, free: 10.31 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (113): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * 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.01034/0.8788, allocations: 4.057 MB / 0.8544 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004516/0.8833, allocations: 1.434 MB / 0.8558 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.8833, allocations: 0 / 0.8558 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002319/0.8856, allocations: 0.7675 MB / 0.8566 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004856/0.8905, allocations: 0.7418 MB / 0.8573 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02963/0.9201, allocations: 12.7 MB / 0.8697 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/0.9214, allocations: 1.313 MB / 0.871 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001558/0.9229, allocations: 373 kB / 0.8714 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/0.9241, allocations: 0.7218 MB / 0.8721 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of SimCode: time 8.62e-07/0.9241, allocations: 0 / 0.8721 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1071/1.031, allocations: 49.09 MB / 0.92 GB, free: 3.16 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/16.05, allocations: 4.406 kB / 0.92 GB, free: 3.16 MB / 0.6856 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.24419376498554] Failed to read output from testmodel.py, exit status != 0: 16.333277646044735 16.361965625 15.583918958 Calling exit ...