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.001362/0.001362, allocations: 119 kB / 19.69 MB, free: 2.199 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.001696/0.001696, allocations: 221.9 kB / 23.01 MB, free: 5.047 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.002/1.002, allocations: 150 MB / 463.2 MB, free: 10.47 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,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: 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.002261/0.002261, allocations: 70.14 kB / 0.6413 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.18, allocations: 89.16 MB / 0.7284 GB, free: 1.203 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6853/0.8654, allocations: 246.4 MB / 0.969 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01629/0.8816, allocations: 8.559 MB / 0.9774 GB, free: 8.039 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002321/0.884, allocations: 95.12 kB / 0.9775 GB, free: 7.945 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003177/0.8871, allocations: 1.087 MB / 0.9786 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.009235/0.8964, allocations: 3.275 MB / 0.9817 GB, free: 3.562 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.009522/0.9059, allocations: 3.607 MB / 0.9853 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006682/0.9126, allocations: 4.054 MB / 0.9892 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002657/0.9152, allocations: 1.141 MB / 0.9903 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005988/0.9212, allocations: 2.34 MB / 0.9926 GB, free: 8.355 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003099/0.9243, allocations: 1.486 MB / 0.9941 GB, free: 6.863 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0006557/0.925, allocations: 136 kB / 0.9942 GB, free: 6.73 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009012/0.934, allocations: 4.275 MB / 0.9984 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.9351, allocations: 0.619 MB / 0.999 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002251/0.9374, allocations: 1.01 MB / 1 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.9479, allocations: 3.936 MB / 1.004 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9479, allocations: 0 / 1.004 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9479, allocations: 0 / 1.004 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001146/0.948, allocations: 4 kB / 1.004 GB, free: 12.86 MB / 0.7794 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.007685/0.9557, allocations: 2.685 MB / 1.006 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.9558, allocations: 8.031 kB / 1.006 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004552/0.9562, allocations: 190.5 kB / 1.007 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008859/0.9651, allocations: 1.337 MB / 1.008 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003866/0.969, allocations: 1.2 MB / 1.009 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.9691, allocations: 102.6 kB / 1.009 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004585/0.9696, allocations: 135.9 kB / 1.009 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005467/0.975, allocations: 2.074 MB / 1.011 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/0.9751, allocations: 7.938 kB / 1.011 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/0.9753, allocations: 55.94 kB / 1.011 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001212/0.9754, allocations: 62.47 kB / 1.011 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006338/0.9817, allocations: 2.18 MB / 1.014 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01413/0.9959, allocations: 8.316 MB / 1.022 GB, free: 9.746 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004921/1.001, allocations: 1.803 MB / 1.023 GB, free: 7.93 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002457/1.003, allocations: 0.9288 MB / 1.024 GB, free: 7 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/1.004, allocations: 204.8 kB / 1.025 GB, free: 6.797 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002827/1.007, allocations: 1.063 MB / 1.026 GB, free: 5.723 MB / 0.795 GB Notification: Performance of pre-optimization done (n=119): time 3.437e-06/1.007, allocations: 0 / 1.026 GB, free: 5.723 MB / 0.795 GB Notification: Performance of matching and sorting (n=119): time 0.008585/1.016, allocations: 2.884 MB / 1.028 GB, free: 2.832 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/1.016, allocations: 68.41 kB / 1.029 GB, free: 2.75 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002714/1.018, allocations: 1.652 MB / 1.03 GB, free: 1.098 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001848/1.019, allocations: 53.7 kB / 1.03 GB, free: 1.039 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008089/1.019, allocations: 0.8133 MB / 1.031 GB, free: 224 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005234/1.02, allocations: 432.3 kB / 1.031 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005038/1.02, allocations: 242.9 kB / 1.032 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001797/1.021, allocations: 353.9 kB / 1.032 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00241/1.023, allocations: 0.8183 MB / 1.033 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00272/1.026, allocations: 1.139 MB / 1.034 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004976/1.031, allocations: 1.935 MB / 1.036 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/1.031, allocations: 4 kB / 1.036 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006023/1.037, allocations: 2.195 MB / 1.038 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/1.037, allocations: 10.81 kB / 1.038 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/1.037, allocations: 12.09 kB / 1.038 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.239e-05/1.037, allocations: 15.98 kB / 1.038 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002183/1.039, allocations: 414.5 kB / 1.038 GB, free: 8.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.891e-05/1.039, allocations: 19.94 kB / 1.038 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/1.041, allocations: 290.7 kB / 1.039 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001891/1.041, allocations: 67.91 kB / 1.039 GB, free: 8.066 MB / 0.8106 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.000876/1.042, allocations: 395.3 kB / 1.039 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004901/1.043, allocations: 202.7 kB / 1.039 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006233/1.049, allocations: 2.195 MB / 1.041 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/1.049, allocations: 15.94 kB / 1.041 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.049, allocations: 4 kB / 1.041 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/1.049, allocations: 3.984 kB / 1.041 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/1.06, allocations: 4.467 MB / 1.046 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/1.06, allocations: 8 kB / 1.046 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002005/1.062, allocations: 335.6 kB / 1.046 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.38e-05/1.062, allocations: 12 kB / 1.046 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/1.062, allocations: 43.95 kB / 1.046 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.971e-05/1.062, allocations: 15.94 kB / 1.046 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/1.062, allocations: 15.88 kB / 1.046 GB, free: 228 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009024/1.071, allocations: 3.458 MB / 1.05 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/1.072, allocations: 346.3 kB / 1.05 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005007/1.073, allocations: 31.98 kB / 1.05 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001927/1.075, allocations: 175.8 kB / 1.05 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002439/1.075, allocations: 104.6 kB / 1.05 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/1.075, allocations: 51.97 kB / 1.05 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002061/1.077, allocations: 1.135 MB / 1.051 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/1.077, allocations: 0 / 1.051 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00191/1.079, allocations: 495.4 kB / 1.052 GB, free: 10.36 MB / 0.8262 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 (122): * Single equations (assignments): 116 * 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.01122/1.09, allocations: 4.502 MB / 1.056 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005861/1.096, allocations: 1.903 MB / 1.058 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.096, allocations: 0 / 1.058 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002834/1.099, allocations: 0.9635 MB / 1.059 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004868/1.104, allocations: 0.9515 MB / 1.06 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04086/1.145, allocations: 16.1 MB / 1.076 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/1.146, allocations: 1.38 MB / 1.077 GB, free: 32 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.3481/1.494, allocations: 476.4 kB / 1.077 GB, free: 295.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/1.496, allocations: 0.7438 MB / 1.078 GB, free: 295.5 MB / 0.8419 GB Notification: Performance of SimCode: time 1.453e-06/1.496, allocations: 0 / 1.078 GB, free: 295.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1309/1.626, allocations: 52.15 MB / 1.129 GB, free: 275.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.28/25.9, allocations: 3.938 kB / 1.129 GB, free: 275.2 MB / 0.8419 GB " [Timeout remaining time 634] (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: 29.921377195045352] Failed to read output from testmodel.py, exit status != 0: 26.106851818971336 26.125809139 25.174117986 Calling exit ...