Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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.0007967/0.0007967, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0008361/0.0008361, allocations: 173.9 kB / 23.21 MB, free: 1.336 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.8959/0.8959, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.589/0.589, 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,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.5542 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.519e-05, allocations: 6.281 kB / 0.5542 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5062/0.5062, allocations: 214.2 MB / 0.7634 GB, free: 32.74 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0123/0.5185, allocations: 8.042 MB / 0.7713 GB, free: 27.82 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/0.5203, allocations: 89.47 kB / 0.7713 GB, free: 27.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.5223, allocations: 1.06 MB / 0.7724 GB, free: 27.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005519/0.5278, allocations: 3.285 MB / 0.7756 GB, free: 25.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006801/0.5346, allocations: 3.628 MB / 0.7791 GB, free: 24.38 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003743/0.5384, allocations: 4.003 MB / 0.783 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008674/0.5392, allocations: 1.082 MB / 0.7841 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002735/0.542, allocations: 2.814 MB / 0.7868 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009034/0.5429, allocations: 1.273 MB / 0.7881 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.543, allocations: 137.9 kB / 0.7882 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003926/0.5469, allocations: 3.233 MB / 0.7914 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003344/0.5473, allocations: 0.6576 MB / 0.792 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004539/0.5477, allocations: 0.6817 MB / 0.7927 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003034/0.5508, allocations: 3.909 MB / 0.7965 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.5508, allocations: 0 / 0.7965 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5508, allocations: 0 / 0.7965 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.826e-05/0.5508, allocations: 0 / 0.7965 GB, free: 17.47 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.003354/0.5541, allocations: 2.645 MB / 0.7991 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.5542, allocations: 8.594 kB / 0.7991 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/0.5543, allocations: 195.8 kB / 0.7993 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00391/0.5582, allocations: 1.334 MB / 0.8006 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.5596, allocations: 1.159 MB / 0.8017 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.629e-05/0.5597, allocations: 104.9 kB / 0.8018 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.5598, allocations: 133.9 kB / 0.8019 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.5623, allocations: 2.079 MB / 0.804 GB, free: 14 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.5623, allocations: 4.625 kB / 0.804 GB, free: 14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.455e-05/0.5624, allocations: 58.92 kB / 0.804 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.645e-05/0.5625, allocations: 63.5 kB / 0.8041 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003125/0.5656, allocations: 2.182 MB / 0.8062 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005978/0.5716, allocations: 6.472 MB / 0.8125 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/0.5741, allocations: 1.809 MB / 0.8143 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.5754, allocations: 0.9353 MB / 0.8152 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005128/0.5759, allocations: 201.1 kB / 0.8154 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001403/0.5773, allocations: 1.065 MB / 0.8164 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=119): time 4.559e-06/0.5773, allocations: 3.984 kB / 0.8165 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of matching and sorting (n=119): time 0.004325/0.5816, allocations: 2.915 MB / 0.8193 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.5816, allocations: 63.28 kB / 0.8194 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.583, allocations: 1.679 MB / 0.821 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.39e-05/0.5831, allocations: 54.12 kB / 0.8211 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003787/0.5834, allocations: 0.8094 MB / 0.8218 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/0.5837, allocations: 429.9 kB / 0.8223 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002759/0.5839, allocations: 237.5 kB / 0.8225 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.091e-05/0.584, allocations: 356.4 kB / 0.8228 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.5853, allocations: 0.8309 MB / 0.8236 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.5867, allocations: 1.376 MB / 0.825 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002578/0.5893, allocations: 1.937 MB / 0.8269 GB, free: 244 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.5893, allocations: 2.656 kB / 0.8269 GB, free: 244 kB / 0.6355 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003289/0.5925, allocations: 2.21 MB / 0.829 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.5926, allocations: 8.406 kB / 0.829 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.5926, allocations: 12.12 kB / 0.829 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/0.5926, allocations: 13.44 kB / 0.8291 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.5937, allocations: 406.4 kB / 0.8294 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.22e-05/0.5937, allocations: 23.81 kB / 0.8295 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.5948, allocations: 289 kB / 0.8297 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.5949, allocations: 62.41 kB / 0.8298 GB, free: 14.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (161): * Single equations (assignments): 161 * 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.0005557/0.5955, allocations: 393.5 kB / 0.8302 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.5957, allocations: 202.9 kB / 0.8304 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003196/0.5989, allocations: 2.218 MB / 0.8325 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.5989, allocations: 18.62 kB / 0.8326 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5989, allocations: 0.8438 kB / 0.8326 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.5989, allocations: 7.969 kB / 0.8326 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00528/0.6042, allocations: 4.281 MB / 0.8367 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.6042, allocations: 8 kB / 0.8368 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008708/0.6051, allocations: 351 kB / 0.8371 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/0.6051, allocations: 12 kB / 0.8371 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.168e-05/0.6051, allocations: 39.97 kB / 0.8371 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/0.6052, allocations: 17.66 kB / 0.8372 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.6052, allocations: 10.53 kB / 0.8372 GB, free: 7.434 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004543/0.6097, allocations: 3.507 MB / 0.8406 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004823/0.6102, allocations: 342.3 kB / 0.8409 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.6103, allocations: 35.98 kB / 0.8409 GB, free: 3.461 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008832/0.6112, allocations: 167.8 kB / 0.8411 GB, free: 3.297 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.6113, allocations: 109.9 kB / 0.8412 GB, free: 3.195 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.09e-05/0.6114, allocations: 51.97 kB / 0.8413 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000992/0.6124, allocations: 1.146 MB / 0.8424 GB, free: 2.008 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/0.6124, allocations: 0 / 0.8424 GB, free: 2.008 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009965/0.6134, allocations: 495.5 kB / 0.8429 GB, free: 1.523 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (125): * Single equations (assignments): 119 * 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.005979/0.6194, allocations: 4.556 MB / 0.8473 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002861/0.6222, allocations: 1.92 MB / 0.8492 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6223, allocations: 0 / 0.8492 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.6236, allocations: 0.9819 MB / 0.8501 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/0.6259, allocations: 0.9255 MB / 0.851 GB, free: 9.395 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/0.6459, allocations: 16.04 MB / 0.8667 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/0.6465, allocations: 0.7996 MB / 0.8675 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001417/0.6479, allocations: 474.4 kB / 0.8679 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007864/0.6487, allocations: 0.7307 MB / 0.8687 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of SimCode: time 2.084e-06/0.6487, allocations: 0 / 0.8687 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06382/0.7125, allocations: 55.23 MB / 0.9226 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.163/8.875, allocations: 0 / 0.9226 GB, free: 0.5156 MB / 0.7292 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.535389660857618] Failed to read output from testmodel.py, exit status != 0: 9.001134383492172 9.009413863 8.456907057 Calling exit ...