Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.001805/0.001805, allocations: 118.8 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.00231/0.00231, allocations: 202.3 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.559/1.559, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.006/1.006, allocations: 150 MB / 460.2 MB, free: 5.234 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_X_wSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.002032/0.002032, allocations: 72.95 kB / 0.6368 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1605, allocations: 89.12 MB / 0.7239 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.63/0.7906, allocations: 245.7 MB / 0.9638 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01615/0.8067, allocations: 8.526 MB / 0.9721 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002698/0.8094, allocations: 96.72 kB / 0.9722 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002903/0.8123, allocations: 1.075 MB / 0.9733 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008565/0.8209, allocations: 3.236 MB / 0.9764 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008445/0.8293, allocations: 3.5 MB / 0.9799 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006766/0.8361, allocations: 3.95 MB / 0.9837 GB, free: 4.367 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002226/0.8383, allocations: 1.159 MB / 0.9848 GB, free: 3.57 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005056/0.8434, allocations: 2.296 MB / 0.9871 GB, free: 2.246 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002782/0.8461, allocations: 1.441 MB / 0.9885 GB, free: 1.402 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005435/0.8467, allocations: 128.2 kB / 0.9886 GB, free: 1.402 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009444/0.8561, allocations: 4.174 MB / 0.9927 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001396/0.8575, allocations: 0.6034 MB / 0.9933 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002891/0.8604, allocations: 0.9869 MB / 0.9943 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01143/0.8718, allocations: 3.87 MB / 0.998 GB, free: 7.875 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.8719, allocations: 4 kB / 0.998 GB, free: 7.871 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8719, allocations: 0 / 0.998 GB, free: 7.871 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000104/0.872, allocations: 0 / 0.998 GB, free: 7.871 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.007995/0.88, allocations: 2.73 MB / 1.001 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.88, allocations: 12.02 kB / 1.001 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.521e-05/0.8801, allocations: 34.56 kB / 1.001 GB, free: 5.023 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004169/0.8805, allocations: 190.4 kB / 1.001 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007854/0.8883, allocations: 1.099 MB / 1.002 GB, free: 3.727 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003246/0.8916, allocations: 1.272 MB / 1.003 GB, free: 2.402 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.8917, allocations: 102.5 kB / 1.003 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005278/0.8922, allocations: 128 kB / 1.003 GB, free: 2.176 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005434/0.8977, allocations: 1.991 MB / 1.005 GB, free: 40 kB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.019e-05/0.8977, allocations: 7.875 kB / 1.005 GB, free: 32 kB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002341/0.898, allocations: 60.08 kB / 1.005 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.12e-05/0.898, allocations: 58.3 kB / 1.006 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005675/0.9037, allocations: 1.87 MB / 1.007 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01455/0.9183, allocations: 9.176 MB / 1.016 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004965/0.9232, allocations: 1.557 MB / 1.018 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002162/0.9254, allocations: 0.7415 MB / 1.019 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/0.9265, allocations: 0.5894 MB / 1.019 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002573/0.929, allocations: 0.8675 MB / 1.02 GB, free: 356 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=104): time 4.268e-06/0.9291, allocations: 0 / 1.02 GB, free: 356 kB / 0.7169 GB Notification: Performance of matching and sorting (n=104): time 0.007249/0.9363, allocations: 2.322 MB / 1.022 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.9364, allocations: 68.41 kB / 1.022 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002473/0.9388, allocations: 1.694 MB / 1.024 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001669/0.939, allocations: 49.7 kB / 1.024 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007833/0.9398, allocations: 0.8558 MB / 1.025 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004483/0.9402, allocations: 380.7 kB / 1.025 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004411/0.9407, allocations: 238.8 kB / 1.025 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.9409, allocations: 353.9 kB / 1.026 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/0.9429, allocations: 0.6622 MB / 1.026 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002422/0.9453, allocations: 1.058 MB / 1.027 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004414/0.9497, allocations: 1.715 MB / 1.029 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.9497, allocations: 4 kB / 1.029 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005373/0.9551, allocations: 1.918 MB / 1.031 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.9552, allocations: 12 kB / 1.031 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.9552, allocations: 8 kB / 1.031 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.125e-05/0.9552, allocations: 20 kB / 1.031 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/0.9571, allocations: 363.5 kB / 1.031 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-05/0.9572, allocations: 27.94 kB / 1.031 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.959, allocations: 250.6 kB / 1.032 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/0.9592, allocations: 66.41 kB / 1.032 GB, free: 3.906 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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.0007738/0.9599, allocations: 407.5 kB / 1.032 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003705/0.9603, allocations: 198.7 kB / 1.032 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005291/0.9656, allocations: 1.787 MB / 1.034 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.9656, allocations: 8 kB / 1.034 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.9656, allocations: 0 / 1.034 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/0.9656, allocations: 11.92 kB / 1.034 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008957/0.9746, allocations: 3.94 MB / 1.038 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.9746, allocations: 8.875 kB / 1.038 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/0.9763, allocations: 264.4 kB / 1.038 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-05/0.9763, allocations: 12 kB / 1.038 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/0.9765, allocations: 39.97 kB / 1.038 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.709e-05/0.9765, allocations: 15.94 kB / 1.038 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.727e-06/0.9765, allocations: 7.984 kB / 1.038 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007533/0.984, allocations: 2.875 MB / 1.041 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.9852, allocations: 391.5 kB / 1.041 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004053/0.9856, allocations: 35.98 kB / 1.041 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/0.9872, allocations: 123.9 kB / 1.042 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/0.9874, allocations: 88.39 kB / 1.042 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.9875, allocations: 48.06 kB / 1.042 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00181/0.9894, allocations: 1.163 MB / 1.043 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9894, allocations: 0 / 1.043 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001825/0.9912, allocations: 467.4 kB / 1.043 GB, free: 7.73 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (104): * Single equations (assignments): 98 * 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.01002/1.001, allocations: 3.89 MB / 1.047 GB, free: 3.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004897/1.006, allocations: 1.565 MB / 1.049 GB, free: 2.363 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.006, allocations: 4 kB / 1.049 GB, free: 2.359 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00249/1.009, allocations: 0.7742 MB / 1.049 GB, free: 1.582 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004695/1.013, allocations: 0.9264 MB / 1.05 GB, free: 0.6719 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03673/1.05, allocations: 15.02 MB / 1.065 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/1.051, allocations: 1.379 MB / 1.066 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002122/1.053, allocations: 458.6 kB / 1.067 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/1.055, allocations: 0.7179 MB / 1.067 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of SimCode: time 1.162e-06/1.055, allocations: 0 / 1.067 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09703/1.152, allocations: 49.33 MB / 1.116 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/14.29, allocations: 0.5938 kB / 1.116 GB, free: 13.58 MB / 0.8262 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.703996194992214] Failed to read output from testmodel.py, exit status != 0: 14.511508881987538 14.535638493 13.658962513 Calling exit ...