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.001977/0.001977, allocations: 114.1 kB / 17.84 MB, free: 5.312 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.002513/0.002513, allocations: 203.2 kB / 20.8 MB, free: 2.371 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.523/1.523, allocations: 230.6 MB / 254.2 MB, free: 15.08 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.012/1.012, allocations: 150 MB / 460.2 MB, free: 5.305 MB / 350.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.002004/0.002004, allocations: 63.19 kB / 0.6368 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1881, allocations: 89.13 MB / 0.7239 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.06611/0.2542, allocations: 55.23 MB / 0.7778 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01819/0.2724, allocations: 10.47 MB / 0.788 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002471/0.2748, allocations: 95.12 kB / 0.7881 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002995/0.2778, allocations: 0.9085 MB / 0.789 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006164/0.284, allocations: 2.06 MB / 0.791 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005514/0.2895, allocations: 2.012 MB / 0.793 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005895/0.2954, allocations: 3.792 MB / 0.7967 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002034/0.2974, allocations: 1.005 MB / 0.7977 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004594/0.302, allocations: 1.969 MB / 0.7996 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002397/0.3044, allocations: 1.26 MB / 0.8008 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003386/0.3048, allocations: 112 kB / 0.8009 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003336/0.3081, allocations: 1.337 MB / 0.8022 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005538/0.3087, allocations: 402.2 kB / 0.8026 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001357/0.31, allocations: 0.8508 MB / 0.8035 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005768/0.3158, allocations: 2.479 MB / 0.8059 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3158, allocations: 0 / 0.8059 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.835e-06/0.3158, allocations: 0 / 0.8059 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.01e-05/0.3158, allocations: 0 / 0.8059 GB, free: 15.7 MB / 0.6231 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.004397/0.3202, allocations: 2.213 MB / 0.808 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.3203, allocations: 8.031 kB / 0.8081 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.892e-05/0.3204, allocations: 30.14 kB / 0.8081 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001966/0.3206, allocations: 156.8 kB / 0.8082 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003824/0.3244, allocations: 0.666 MB / 0.8089 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002454/0.3268, allocations: 1.216 MB / 0.8101 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.624e-05/0.3269, allocations: 82.14 kB / 0.8101 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.3271, allocations: 108 kB / 0.8102 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003387/0.3305, allocations: 1.496 MB / 0.8117 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.3305, allocations: 3.938 kB / 0.8117 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.3306, allocations: 44 kB / 0.8118 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.3307, allocations: 32 kB / 0.8118 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003743/0.3344, allocations: 1.229 MB / 0.813 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/0.3449, allocations: 8.379 MB / 0.8212 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003535/0.3484, allocations: 1.046 MB / 0.8222 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.35, allocations: 0.5296 MB / 0.8227 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002537/0.3526, allocations: 2.894 MB / 0.8255 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002016/0.3546, allocations: 0.6761 MB / 0.8262 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=85): time 3.597e-06/0.3546, allocations: 0 / 0.8262 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85): time 0.005866/0.3605, allocations: 1.803 MB / 0.828 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.3605, allocations: 64.41 kB / 0.828 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002279/0.3628, allocations: 1.522 MB / 0.8295 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.3629, allocations: 41.7 kB / 0.8295 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007486/0.3637, allocations: 0.8079 MB / 0.8303 GB, free: 5.055 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003531/0.364, allocations: 313.3 kB / 0.8306 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003642/0.3644, allocations: 226.8 kB / 0.8308 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3646, allocations: 345.9 kB / 0.8312 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.3663, allocations: 0.5178 MB / 0.8317 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00209/0.3683, allocations: 0.8954 MB / 0.8326 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003758/0.3721, allocations: 1.418 MB / 0.8339 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/0.3721, allocations: 4 kB / 0.8339 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004798/0.3769, allocations: 1.617 MB / 0.8355 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.3769, allocations: 15.94 kB / 0.8355 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.377, allocations: 12 kB / 0.8356 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.72e-05/0.377, allocations: 19.94 kB / 0.8356 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/0.3785, allocations: 339.6 kB / 0.8359 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.04e-05/0.3786, allocations: 23.92 kB / 0.8359 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/0.3804, allocations: 226.9 kB / 0.8361 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/0.3805, allocations: 71.95 kB / 0.8362 GB, free: 14.7 MB / 0.6544 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.0007768/0.3813, allocations: 351.6 kB / 0.8365 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000472/0.3818, allocations: 174.9 kB / 0.8367 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005498/0.3873, allocations: 2.093 MB / 0.8387 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.801e-05/0.3873, allocations: 19.98 kB / 0.8388 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.3873, allocations: 0 / 0.8388 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.3873, allocations: 11.97 kB / 0.8388 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00743/0.3948, allocations: 3.304 MB / 0.842 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.7e-05/0.3948, allocations: 0 / 0.842 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.3961, allocations: 231.8 kB / 0.8422 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.106e-05/0.3961, allocations: 12 kB / 0.8422 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.3962, allocations: 39.95 kB / 0.8423 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.507e-06/0.3962, allocations: 4 kB / 0.8423 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.3962, allocations: 4 kB / 0.8423 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007186/0.4034, allocations: 2.698 MB / 0.8449 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008905/0.4043, allocations: 403.4 kB / 0.8453 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/0.4045, allocations: 27.94 kB / 0.8453 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.4056, allocations: 115.9 kB / 0.8454 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.4058, allocations: 88.77 kB / 0.8455 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.4059, allocations: 47.97 kB / 0.8456 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00158/0.4075, allocations: 1.023 MB / 0.8466 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4075, allocations: 0 / 0.8466 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001893/0.4094, allocations: 0.5457 MB / 0.8471 GB, free: 3.43 MB / 0.6544 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 (110): * Single equations (assignments): 79 * 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.009878/0.4193, allocations: 3.979 MB / 0.851 GB, free: 15.57 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004448/0.4237, allocations: 1.411 MB / 0.8524 GB, free: 14.16 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.4237, allocations: 4.188 kB / 0.8524 GB, free: 14.16 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002151/0.4259, allocations: 0.7478 MB / 0.8531 GB, free: 13.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003536/0.4294, allocations: 0.7322 MB / 0.8538 GB, free: 12.68 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3944/0.8238, allocations: 12.65 MB / 0.8662 GB, free: 135.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.8249, allocations: 1.314 MB / 0.8675 GB, free: 135 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001534/0.8265, allocations: 371 kB / 0.8678 GB, free: 135 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.8276, allocations: 0.7138 MB / 0.8685 GB, free: 135 MB / 0.67 GB Notification: Performance of SimCode: time 1.883e-06/0.8276, allocations: 0 / 0.8685 GB, free: 135 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09668/0.9243, allocations: 47.9 MB / 0.9153 GB, free: 103 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.45, allocations: 25.89 kB / 0.9153 GB, free: 103 MB / 0.67 GB " [Timeout remaining time 645] (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: 18.861738609033637] Failed to read output from testmodel.py, exit status != 0: 14.668046021019109 14.678133145 14.359828853 Calling exit ...