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.0007705/0.0007705, allocations: 72.5 kB / 19.92 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.00079/0.00079, allocations: 173.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.9658/0.9658, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.5818/0.5818, allocations: 114 MB / 373.9 MB, free: 8.695 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_Water,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.5542 GB, free: 1.672 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.167e-05, allocations: 8.734 kB / 0.5542 GB, free: 1.664 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0363/0.03633, allocations: 49.95 MB / 0.603 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01195/0.04827, allocations: 9.702 MB / 0.6125 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.05028, allocations: 95.12 kB / 0.6126 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.002419/0.0527, allocations: 0.92 MB / 0.6135 GB, free: 4.797 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.00516/0.05786, allocations: 2.117 MB / 0.6155 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.004887/0.06275, allocations: 2.117 MB / 0.6176 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.004972/0.06772, allocations: 3.763 MB / 0.6213 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/0.0696, allocations: 0.9524 MB / 0.6222 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004772/0.07437, allocations: 2.433 MB / 0.6246 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002114/0.07648, allocations: 1.067 MB / 0.6256 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0003695/0.07685, allocations: 104 kB / 0.6257 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002265/0.07912, allocations: 1.052 MB / 0.6268 GB, free: 7.133 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003534/0.07947, allocations: 414.1 kB / 0.6272 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0009884/0.08046, allocations: 0.561 MB / 0.6277 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.004841/0.0853, allocations: 2.438 MB / 0.6301 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.08531, allocations: 0 / 0.6301 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.275e-06/0.08531, allocations: 0 / 0.6301 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.983e-05/0.08538, allocations: 4 kB / 0.6301 GB, free: 3.715 MB / 0.5417 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.003624/0.08901, allocations: 2.084 MB / 0.6321 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.08906, allocations: 16.56 kB / 0.6321 GB, free: 1.566 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004232/0.08948, allocations: 168.7 kB / 0.6323 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.0913, allocations: 0.6504 MB / 0.6329 GB, free: 0.7383 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/0.09293, allocations: 1.072 MB / 0.634 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.503e-05/0.09298, allocations: 78.14 kB / 0.6341 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.0931, allocations: 115.9 kB / 0.6342 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.09512, allocations: 1.504 MB / 0.6356 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.09515, allocations: 7.938 kB / 0.6356 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.245e-05/0.09522, allocations: 44 kB / 0.6357 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.09524, allocations: 28 kB / 0.6357 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002087/0.09733, allocations: 1.245 MB / 0.6369 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006694/0.104, allocations: 6.562 MB / 0.6433 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.106, allocations: 1.056 MB / 0.6444 GB, free: 4.586 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008112/0.1068, allocations: 0.5297 MB / 0.6449 GB, free: 4.055 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005721/0.1073, allocations: 281.2 kB / 0.6451 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.1084, allocations: 0.6879 MB / 0.6458 GB, free: 3.086 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=85): time 4.228e-06/0.1084, allocations: 0 / 0.6458 GB, free: 3.086 MB / 0.5573 GB Notification: Performance of matching and sorting (n=85): time 0.00317/0.1115, allocations: 1.83 MB / 0.6476 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.1116, allocations: 64.34 kB / 0.6477 GB, free: 1.172 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2767/0.3883, allocations: 1.538 MB / 0.6492 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002376/0.3886, allocations: 46.45 kB / 0.6492 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005296/0.3891, allocations: 0.7956 MB / 0.65 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002782/0.3894, allocations: 308.8 kB / 0.6503 GB, free: 100 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002904/0.3897, allocations: 224.5 kB / 0.6505 GB, free: 99.91 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.3897, allocations: 345.8 kB / 0.6508 GB, free: 99.59 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.3908, allocations: 0.5226 MB / 0.6513 GB, free: 99.47 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.3922, allocations: 1.14 MB / 0.6525 GB, free: 98.61 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/0.3944, allocations: 1.426 MB / 0.6538 GB, free: 97.86 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.3945, allocations: 3.969 kB / 0.6538 GB, free: 97.86 MB / 0.5573 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003007/0.3975, allocations: 1.632 MB / 0.6554 GB, free: 97.33 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.3975, allocations: 12.69 kB / 0.6555 GB, free: 97.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.3975, allocations: 9.031 kB / 0.6555 GB, free: 97.33 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/0.3975, allocations: 17.16 kB / 0.6555 GB, free: 97.33 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006765/0.3982, allocations: 349 kB / 0.6558 GB, free: 97.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/0.3982, allocations: 24.5 kB / 0.6558 GB, free: 97.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.3993, allocations: 227 kB / 0.6561 GB, free: 97.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.3994, allocations: 64 kB / 0.6561 GB, free: 97.23 MB / 0.5573 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.0005633/0.3999, allocations: 348.5 kB / 0.6564 GB, free: 97.01 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/0.4001, allocations: 177.1 kB / 0.6566 GB, free: 96.92 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003099/0.4032, allocations: 2.174 MB / 0.6587 GB, free: 96.31 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.881e-05/0.4033, allocations: 24.11 kB / 0.6588 GB, free: 96.31 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.4033, allocations: 3.172 kB / 0.6588 GB, free: 96.31 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/0.4033, allocations: 5.859 kB / 0.6588 GB, free: 96.31 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004423/0.4077, allocations: 3.242 MB / 0.6619 GB, free: 95.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.4077, allocations: 2.656 kB / 0.6619 GB, free: 95.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006851/0.4084, allocations: 242.1 kB / 0.6622 GB, free: 95.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/0.4084, allocations: 5.5 kB / 0.6622 GB, free: 95.05 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-05/0.4085, allocations: 37.52 kB / 0.6622 GB, free: 95.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.4085, allocations: 6.219 kB / 0.6622 GB, free: 95.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.4085, allocations: 2.125 kB / 0.6622 GB, free: 95.04 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005521/0.414, allocations: 2.831 MB / 0.665 GB, free: 93.99 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008141/0.4149, allocations: 329.7 kB / 0.6653 GB, free: 93.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/0.4151, allocations: 25.47 kB / 0.6653 GB, free: 93.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006689/0.4157, allocations: 112.7 kB / 0.6654 GB, free: 93.79 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.4159, allocations: 92.72 kB / 0.6655 GB, free: 93.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.329e-05/0.416, allocations: 50.16 kB / 0.6656 GB, free: 93.76 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001286/0.4173, allocations: 1.04 MB / 0.6666 GB, free: 93.39 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4173, allocations: 0.5469 kB / 0.6666 GB, free: 93.39 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001584/0.4189, allocations: 0.5571 MB / 0.6671 GB, free: 93.31 MB / 0.5573 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.005893/0.4247, allocations: 4.136 MB / 0.6712 GB, free: 91.62 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002735/0.4275, allocations: 1.449 MB / 0.6726 GB, free: 91.25 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.4275, allocations: 5.125 kB / 0.6726 GB, free: 91.24 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.4288, allocations: 0.7822 MB / 0.6733 GB, free: 91.04 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/0.4314, allocations: 0.7174 MB / 0.674 GB, free: 90.81 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/0.4458, allocations: 12.68 MB / 0.6864 GB, free: 81.11 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.4462, allocations: 0.7343 MB / 0.6871 GB, free: 80.34 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001086/0.4472, allocations: 374 kB / 0.6875 GB, free: 79.99 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005588/0.4478, allocations: 0.7072 MB / 0.6882 GB, free: 79.29 MB / 0.5573 GB Notification: Performance of SimCode: time 1.784e-06/0.4478, allocations: 0 / 0.6882 GB, free: 79.29 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06272/0.5105, allocations: 51.36 MB / 0.7383 GB, free: 28.72 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.58/9.091, allocations: 3.266 kB / 0.7384 GB, free: 28.72 MB / 0.5573 GB " [Timeout remaining time 651] (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: 11.77638473175466] Failed to read output from testmodel.py, exit status != 0: 9.216564941219985 9.231194926 9.14299853 Calling exit ...