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.001812/0.001812, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002342/0.002342, allocations: 210.6 kB / 23.78 MB, free: 4.555 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.432/1.432, 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 0.9364/0.9364, allocations: 150 MB / 463.9 MB, free: 10.23 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.001937/0.001937, allocations: 62.66 kB / 0.642 GB, free: 9.891 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1831, allocations: 89.18 MB / 0.7291 GB, free: 0.793 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.4216/0.6047, allocations: 50.35 MB / 0.7783 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01285/0.6176, allocations: 9.728 MB / 0.7878 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.6195, allocations: 95.62 kB / 0.7878 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002195/0.6217, allocations: 0.9035 MB / 0.7887 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00563/0.6273, allocations: 2.087 MB / 0.7908 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005579/0.6329, allocations: 2.032 MB / 0.7928 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006417/0.6393, allocations: 3.827 MB / 0.7965 GB, free: 404 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002067/0.6414, allocations: 0.9947 MB / 0.7975 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004903/0.6463, allocations: 1.983 MB / 0.7994 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002786/0.6491, allocations: 1.27 MB / 0.8006 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004872/0.6496, allocations: 105.9 kB / 0.8007 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003823/0.6534, allocations: 1.049 MB / 0.8018 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007496/0.6541, allocations: 402.5 kB / 0.8021 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001712/0.6558, allocations: 0.7046 MB / 0.8028 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005913/0.6618, allocations: 2.428 MB / 0.8052 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.6618, allocations: 0 / 0.8052 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.562e-06/0.6618, allocations: 0 / 0.8052 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.208e-05/0.6618, allocations: 5.469 kB / 0.8052 GB, free: 12.61 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.004144/0.6659, allocations: 2.13 MB / 0.8073 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.666, allocations: 9.438 kB / 0.8073 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.898e-05/0.666, allocations: 32.61 kB / 0.8073 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/0.6662, allocations: 161.8 kB / 0.8075 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003679/0.6699, allocations: 0.6611 MB / 0.8081 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/0.6723, allocations: 1.084 MB / 0.8092 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-05/0.6724, allocations: 87.02 kB / 0.8093 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.6726, allocations: 109.3 kB / 0.8094 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003275/0.6759, allocations: 1.497 MB / 0.8108 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.6759, allocations: 10.67 kB / 0.8108 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.676, allocations: 49.16 kB / 0.8109 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/0.6761, allocations: 28.12 kB / 0.8109 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003601/0.6797, allocations: 1.233 MB / 0.8121 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009563/0.6892, allocations: 6.593 MB / 0.8186 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003403/0.6926, allocations: 1.057 MB / 0.8196 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.6942, allocations: 0.5308 MB / 0.8201 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/0.6952, allocations: 282.5 kB / 0.8204 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001898/0.6971, allocations: 0.6908 MB / 0.8211 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 3.256e-06/0.6971, allocations: 0 / 0.8211 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.005714/0.7028, allocations: 1.821 MB / 0.8228 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/0.7029, allocations: 66.59 kB / 0.8229 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002418/0.7053, allocations: 1.537 MB / 0.8244 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.7054, allocations: 51.53 kB / 0.8245 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007215/0.7062, allocations: 0.8047 MB / 0.8252 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003224/0.7065, allocations: 316.5 kB / 0.8255 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003494/0.7068, allocations: 226 kB / 0.8258 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.707, allocations: 356.1 kB / 0.8261 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.7085, allocations: 0.5232 MB / 0.8266 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.7105, allocations: 1.14 MB / 0.8277 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003295/0.7138, allocations: 1.42 MB / 0.8291 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.7138, allocations: 5.406 kB / 0.8291 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004415/0.7182, allocations: 1.625 MB / 0.8307 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.7182, allocations: 12.67 kB / 0.8307 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.7183, allocations: 17.94 kB / 0.8307 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.957e-05/0.7183, allocations: 18.47 kB / 0.8307 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.7197, allocations: 351.3 kB / 0.8311 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.681e-05/0.7197, allocations: 25.36 kB / 0.8311 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/0.7214, allocations: 224.2 kB / 0.8313 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.7216, allocations: 65.95 kB / 0.8314 GB, free: 10.93 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.0006629/0.7222, allocations: 340.4 kB / 0.8317 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/0.7225, allocations: 184.3 kB / 0.8319 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004887/0.7274, allocations: 2.191 MB / 0.834 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-05/0.7275, allocations: 22.95 kB / 0.834 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.7275, allocations: 2.719 kB / 0.834 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/0.7275, allocations: 7.969 kB / 0.8341 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006923/0.7344, allocations: 3.241 MB / 0.8372 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.7344, allocations: 4 kB / 0.8372 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.7356, allocations: 235.9 kB / 0.8374 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-05/0.7356, allocations: 10.11 kB / 0.8375 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.206e-05/0.7357, allocations: 35.95 kB / 0.8375 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.244e-05/0.7357, allocations: 9.172 kB / 0.8375 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7357, allocations: 0 / 0.8375 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006537/0.7423, allocations: 2.834 MB / 0.8403 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009575/0.7432, allocations: 334.2 kB / 0.8406 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000279/0.7435, allocations: 20 kB / 0.8406 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.7447, allocations: 119.9 kB / 0.8407 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.7448, allocations: 88.78 kB / 0.8408 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/0.745, allocations: 55.89 kB / 0.8409 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001654/0.7466, allocations: 1.042 MB / 0.8419 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.7466, allocations: 0 / 0.8419 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001925/0.7485, allocations: 0.5458 MB / 0.8424 GB, free: 0.9336 MB / 0.6075 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 (116): * Single equations (assignments): 85 * 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.009813/0.7584, allocations: 4.129 MB / 0.8464 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004078/0.7624, allocations: 1.457 MB / 0.8479 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.7624, allocations: 3.938 kB / 0.8479 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001989/0.7644, allocations: 0.7793 MB / 0.8486 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003533/0.768, allocations: 0.7382 MB / 0.8493 GB, free: 10 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02504/0.793, allocations: 12.76 MB / 0.8618 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00079/0.7938, allocations: 0.7352 MB / 0.8625 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001496/0.7953, allocations: 372.8 kB / 0.8629 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/0.7964, allocations: 0.714 MB / 0.8636 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of SimCode: time 9.52e-07/0.7964, allocations: 0 / 0.8636 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1039/0.9003, allocations: 51.74 MB / 0.9141 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.81/16.71, allocations: 4.062 kB / 0.9141 GB, free: 7.836 MB / 0.6856 GB " [Timeout remaining time 643] (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.747980004991405] Failed to read output from testmodel.py, exit status != 0: 16.975898203905672 17.006824329 16.33874769 Calling exit ...