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.001666/0.001666, allocations: 114.2 kB / 17.84 MB, free: 5.355 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.001748/0.001748, allocations: 207.1 kB / 20.79 MB, free: 2.414 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.527/1.527, 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 0.9946/0.9946, allocations: 150 MB / 460.2 MB, free: 5.695 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,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",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.002/0.002, allocations: 70.11 kB / 0.6368 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1965, allocations: 89.14 MB / 0.7239 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.822/1.019, allocations: 245.7 MB / 0.9638 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0166/1.035, allocations: 8.527 MB / 0.9721 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003639/1.039, allocations: 95.69 kB / 0.9722 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003686/1.042, allocations: 1.083 MB / 0.9733 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01116/1.054, allocations: 3.235 MB / 0.9764 GB, free: 9.32 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01075/1.064, allocations: 3.495 MB / 0.9799 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00837/1.073, allocations: 4.027 MB / 0.9838 GB, free: 4.41 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002958/1.076, allocations: 1.197 MB / 0.985 GB, free: 3.594 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006578/1.082, allocations: 2.318 MB / 0.9872 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003744/1.086, allocations: 1.484 MB / 0.9887 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004562/1.086, allocations: 135.5 kB / 0.9888 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01073/1.097, allocations: 4.183 MB / 0.9929 GB, free: 13.26 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.001474/1.099, allocations: 0.6189 MB / 0.9935 GB, free: 12.64 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 0.00219/1.101, allocations: 1.01 MB / 0.9945 GB, free: 11.62 MB / 0.7013 GB Notification: Performance of NFConvertDAE.convert: time 0.01123/1.112, allocations: 3.932 MB / 0.9983 GB, free: 7.676 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.112, allocations: 0 / 0.9983 GB, free: 7.676 MB / 0.7013 GB Notification: Performance of FrontEnd: time 1.784e-06/1.112, allocations: 0 / 0.9983 GB, free: 7.676 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 5.733e-05/1.112, allocations: 4 kB / 0.9983 GB, free: 7.672 MB / 0.7013 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.007679/1.12, allocations: 2.757 MB / 1.001 GB, free: 4.844 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.12, allocations: 8.031 kB / 1.001 GB, free: 4.836 MB / 0.7013 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.139e-05/1.12, allocations: 38.53 kB / 1.001 GB, free: 4.797 MB / 0.7013 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002674/1.12, allocations: 194.5 kB / 1.001 GB, free: 4.598 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009218/1.129, allocations: 1.329 MB / 1.003 GB, free: 3.266 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003178/1.133, allocations: 1.295 MB / 1.004 GB, free: 1.918 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/1.133, allocations: 114.5 kB / 1.004 GB, free: 1.805 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002959/1.133, allocations: 132 kB / 1.004 GB, free: 1.676 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005086/1.138, allocations: 2.078 MB / 1.006 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/1.138, allocations: 4 kB / 1.006 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/1.138, allocations: 52 kB / 1.006 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.819e-05/1.138, allocations: 62.47 kB / 1.006 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00639/1.145, allocations: 2.172 MB / 1.008 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/1.159, allocations: 8.413 MB / 1.017 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005267/1.164, allocations: 1.799 MB / 1.018 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002671/1.167, allocations: 0.9328 MB / 1.019 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001474/1.168, allocations: 0.9491 MB / 1.02 GB, free: 364 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003037/1.172, allocations: 1.067 MB / 1.021 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=119): time 4.358e-06/1.172, allocations: 0 / 1.021 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=119): time 0.009441/1.181, allocations: 2.876 MB / 1.024 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.925e-05/1.181, allocations: 64.41 kB / 1.024 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002665/1.184, allocations: 1.652 MB / 1.026 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001872/1.184, allocations: 49.7 kB / 1.026 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008366/1.185, allocations: 0.8211 MB / 1.026 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005324/1.185, allocations: 428.3 kB / 1.027 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004864/1.186, allocations: 242.9 kB / 1.027 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001993/1.186, allocations: 357.9 kB / 1.027 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002634/1.189, allocations: 0.8222 MB / 1.028 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002866/1.191, allocations: 1.142 MB / 1.029 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005354/1.197, allocations: 1.926 MB / 1.031 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/1.197, allocations: 4 kB / 1.031 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006399/1.203, allocations: 2.206 MB / 1.033 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/1.203, allocations: 8 kB / 1.033 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/1.203, allocations: 8 kB / 1.033 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/1.203, allocations: 12 kB / 1.033 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00222/1.206, allocations: 403.4 kB / 1.034 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.662e-05/1.206, allocations: 24.88 kB / 1.034 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/1.208, allocations: 286.7 kB / 1.034 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/1.208, allocations: 63.97 kB / 1.034 GB, free: 1.637 MB / 0.7325 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.0009184/1.209, allocations: 395.5 kB / 1.035 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005663/1.209, allocations: 206.7 kB / 1.035 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006729/1.216, allocations: 2.172 MB / 1.037 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/1.216, allocations: 8 kB / 1.037 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/1.216, allocations: 9.062 kB / 1.037 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/1.216, allocations: 3.984 kB / 1.037 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/1.226, allocations: 4.46 MB / 1.041 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/1.226, allocations: 4 kB / 1.041 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002035/1.228, allocations: 332.2 kB / 1.042 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.686e-05/1.228, allocations: 16 kB / 1.042 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/1.229, allocations: 39.97 kB / 1.042 GB, free: 9.844 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.308e-05/1.229, allocations: 13.5 kB / 1.042 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/1.229, allocations: 16.75 kB / 1.042 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00916/1.238, allocations: 3.457 MB / 1.045 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/1.239, allocations: 423.3 kB / 1.045 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004289/1.24, allocations: 35.98 kB / 1.045 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001907/1.242, allocations: 163.8 kB / 1.046 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/1.242, allocations: 100.7 kB / 1.046 GB, free: 5.531 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/1.242, allocations: 48.09 kB / 1.046 GB, free: 5.484 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001951/1.244, allocations: 1.135 MB / 1.047 GB, free: 4.359 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/1.244, allocations: 4 kB / 1.047 GB, free: 4.355 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001836/1.246, allocations: 491.5 kB / 1.047 GB, free: 3.875 MB / 0.7481 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 (119): * Single equations (assignments): 113 * 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.01123/1.257, allocations: 4.486 MB / 1.052 GB, free: 15.46 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.006071/1.263, allocations: 1.907 MB / 1.054 GB, free: 13.55 MB / 0.7638 GB Notification: Performance of simCode: created event and clocks part: time 9.477e-06/1.263, allocations: 0 / 1.054 GB, free: 13.55 MB / 0.7638 GB Notification: Performance of simCode: created simulation system equations: time 0.002934/1.266, allocations: 0.9557 MB / 1.055 GB, free: 12.6 MB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00462/1.271, allocations: 0.9451 MB / 1.055 GB, free: 11.67 MB / 0.7638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03805/1.309, allocations: 16.09 MB / 1.071 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/1.31, allocations: 1.38 MB / 1.073 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002052/1.312, allocations: 478.8 kB / 1.073 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/1.313, allocations: 0.7336 MB / 1.074 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of SimCode: time 1.583e-06/1.313, allocations: 4 kB / 1.074 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1056/1.419, allocations: 51.06 MB / 1.124 GB, free: 5.824 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/15.02, allocations: 16.77 kB / 1.124 GB, free: 5.816 MB / 0.8263 GB " [Timeout remaining time 645] (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: 19.356628661975265] Failed to read output from testmodel.py, exit status != 0: 15.24190830095904 15.258419355 14.142652209 Calling exit ...