Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.001252/0.001252, allocations: 118 kB / 17.84 MB, free: 5.234 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.001377/0.001377, allocations: 203.9 kB / 20.79 MB, free: 2.297 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.512/1.512, allocations: 230.6 MB / 254.2 MB, free: 15.1 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.9769/0.9769, allocations: 150 MB / 460.2 MB, free: 5.66 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_TSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.002061/0.002061, allocations: 62.75 kB / 0.6368 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2165, allocations: 89.14 MB / 0.7239 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.7227/0.9392, allocations: 245.7 MB / 0.9638 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01586/0.9551, allocations: 8.522 MB / 0.9721 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003283/0.9584, allocations: 96.88 kB / 0.9722 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003343/0.9617, allocations: 1.08 MB / 0.9733 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009568/0.9713, allocations: 3.23 MB / 0.9764 GB, free: 9.32 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.009032/0.9803, allocations: 3.501 MB / 0.9799 GB, free: 6.723 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006503/0.9868, allocations: 3.94 MB / 0.9837 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002274/0.9891, allocations: 1.149 MB / 0.9848 GB, free: 3.664 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005677/0.9948, allocations: 2.295 MB / 0.9871 GB, free: 2.34 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003173/0.9979, allocations: 1.452 MB / 0.9885 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000377/0.9983, allocations: 129.3 kB / 0.9886 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00925/1.008, allocations: 4.182 MB / 0.9927 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001162/1.009, allocations: 0.6034 MB / 0.9933 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002009/1.011, allocations: 0.9946 MB / 0.9943 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.009905/1.021, allocations: 3.877 MB / 0.998 GB, free: 7.988 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/1.021, allocations: 4 kB / 0.998 GB, free: 7.984 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.104e-06/1.021, allocations: 0 / 0.998 GB, free: 7.984 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.74e-05/1.021, allocations: 4 kB / 0.9981 GB, free: 7.98 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.00725/1.028, allocations: 2.73 MB / 1.001 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.028, allocations: 12.03 kB / 1.001 GB, free: 5.168 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.646e-05/1.028, allocations: 42.19 kB / 1.001 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002504/1.028, allocations: 190.4 kB / 1.001 GB, free: 4.934 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007704/1.036, allocations: 1.142 MB / 1.002 GB, free: 3.789 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002767/1.039, allocations: 1.276 MB / 1.003 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/1.039, allocations: 102.4 kB / 1.003 GB, free: 2.359 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002606/1.039, allocations: 139.9 kB / 1.004 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004435/1.044, allocations: 1.959 MB / 1.005 GB, free: 140 kB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/1.044, allocations: 4 kB / 1.005 GB, free: 136 kB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/1.044, allocations: 52 kB / 1.006 GB, free: 84 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.177e-05/1.044, allocations: 70.22 kB / 1.006 GB, free: 12 kB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00524/1.049, allocations: 1.883 MB / 1.007 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01259/1.062, allocations: 8.677 MB / 1.016 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004233/1.066, allocations: 1.46 MB / 1.017 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002096/1.068, allocations: 0.7499 MB / 1.018 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001499/1.069, allocations: 0.9414 MB / 1.019 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00238/1.072, allocations: 0.8871 MB / 1.02 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=106): time 3.176e-06/1.072, allocations: 0 / 1.02 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=106): time 0.007337/1.079, allocations: 2.396 MB / 1.022 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/1.079, allocations: 60.41 kB / 1.022 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/1.082, allocations: 1.738 MB / 1.024 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001517/1.082, allocations: 49.7 kB / 1.024 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007755/1.083, allocations: 0.8405 MB / 1.025 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004426/1.083, allocations: 392.7 kB / 1.025 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004412/1.084, allocations: 238.8 kB / 1.025 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001816/1.084, allocations: 353.9 kB / 1.026 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002004/1.086, allocations: 0.67 MB / 1.026 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/1.088, allocations: 1.049 MB / 1.027 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0043/1.092, allocations: 1.722 MB / 1.029 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/1.092, allocations: 4 kB / 1.029 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005439/1.098, allocations: 1.937 MB / 1.031 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/1.098, allocations: 8 kB / 1.031 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/1.098, allocations: 12 kB / 1.031 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.789e-05/1.098, allocations: 16 kB / 1.031 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/1.1, allocations: 359.5 kB / 1.031 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-05/1.1, allocations: 23.88 kB / 1.031 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/1.102, allocations: 258.6 kB / 1.032 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/1.102, allocations: 67.91 kB / 1.032 GB, free: 4.062 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (157): * Single equations (assignments): 157 * 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.0008947/1.103, allocations: 402.6 kB / 1.032 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006217/1.104, allocations: 202.7 kB / 1.032 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005554/1.109, allocations: 1.812 MB / 1.034 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/1.109, allocations: 12 kB / 1.034 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.109, allocations: 0 / 1.034 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/1.109, allocations: 3.984 kB / 1.034 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009233/1.118, allocations: 4.017 MB / 1.038 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-05/1.118, allocations: 9.062 kB / 1.038 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/1.12, allocations: 276.3 kB / 1.038 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.577e-05/1.12, allocations: 15.94 kB / 1.038 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/1.12, allocations: 35.97 kB / 1.038 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-05/1.12, allocations: 12 kB / 1.038 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.075e-05/1.12, allocations: 11.94 kB / 1.038 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007457/1.128, allocations: 2.919 MB / 1.041 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009988/1.129, allocations: 407.3 kB / 1.042 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000417/1.129, allocations: 35.98 kB / 1.042 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001735/1.131, allocations: 120.7 kB / 1.042 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/1.131, allocations: 88.44 kB / 1.042 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/1.131, allocations: 47.97 kB / 1.042 GB, free: 9.379 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002137/1.133, allocations: 1.184 MB / 1.043 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/1.133, allocations: 0 / 1.043 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001842/1.135, allocations: 467.5 kB / 1.043 GB, free: 7.715 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (106): * Single equations (assignments): 100 * 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.00974/1.145, allocations: 3.965 MB / 1.047 GB, free: 3.805 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004906/1.15, allocations: 1.593 MB / 1.049 GB, free: 2.211 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.15, allocations: 0 / 1.049 GB, free: 2.211 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002351/1.152, allocations: 0.7821 MB / 1.05 GB, free: 1.426 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005241/1.158, allocations: 0.9689 MB / 1.051 GB, free: 484 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03317/1.191, allocations: 14.77 MB / 1.065 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/1.192, allocations: 1.372 MB / 1.066 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00265/1.195, allocations: 467.1 kB / 1.067 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/1.196, allocations: 0.7258 MB / 1.068 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of SimCode: time 1.533e-06/1.196, allocations: 0 / 1.068 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/1.303, allocations: 50.88 MB / 1.117 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/14.44, allocations: 11.8 kB / 1.117 GB, free: 12.09 MB / 0.8262 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.76162614801433] Failed to read output from testmodel.py, exit status != 0: 14.681407889002003 14.710926865 13.684188102 Calling exit ...