Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 102.3 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002039/0.002039, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 247.8 MB, free: 3.754 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002679/0.002679, allocations: 283.8 kB / 303 MB, free: 3.57 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.027/1.027, allocations: 180.9 MB / 0.5261 GB, free: 2.766 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002747/0.002747, allocations: 99.84 kB / 0.7248 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5986/0.6013, allocations: 94.15 MB / 0.8167 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2503/0.8516, allocations: 194.5 MB / 1.007 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.009697/0.8613, allocations: 5.152 MB / 1.012 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.8627, allocations: 47.69 kB / 1.012 GB, free: 8.82 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.8647, allocations: 0.8315 MB / 1.013 GB, free: 7.984 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007083/0.8718, allocations: 2.695 MB / 1.015 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002893/0.8747, allocations: 1.106 MB / 1.016 GB, free: 4.18 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003896/0.8786, allocations: 2.61 MB / 1.019 GB, free: 1.559 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.8799, allocations: 0.7635 MB / 1.02 GB, free: 0.7852 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/0.882, allocations: 1.121 MB / 1.021 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.8834, allocations: 1.027 MB / 1.022 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.8835, allocations: 80 kB / 1.022 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003697/0.8872, allocations: 1.902 MB / 1.024 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0004919/0.8877, allocations: 450.4 kB / 1.024 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0007148/0.8884, allocations: 0.641 MB / 1.025 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003443/0.8918, allocations: 2.175 MB / 1.027 GB, free: 9.375 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.8918, allocations: 4 kB / 1.027 GB, free: 9.371 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8918, allocations: 0 / 1.027 GB, free: 9.371 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.183e-05/0.8919, allocations: 0 / 1.027 GB, free: 9.371 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005027/0.8969, allocations: 1.978 MB / 1.029 GB, free: 7.336 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.8969, allocations: 12.03 kB / 1.029 GB, free: 7.324 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001789/0.8971, allocations: 139.4 kB / 1.029 GB, free: 7.18 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00432/0.9014, allocations: 0.713 MB / 1.03 GB, free: 6.465 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.9034, allocations: 0.9694 MB / 1.031 GB, free: 5.438 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.882e-05/0.9034, allocations: 65.98 kB / 1.031 GB, free: 5.375 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.9036, allocations: 84 kB / 1.031 GB, free: 5.293 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003218/0.9068, allocations: 1.465 MB / 1.032 GB, free: 3.77 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.9069, allocations: 4 kB / 1.032 GB, free: 3.766 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.907, allocations: 32 kB / 1.032 GB, free: 3.734 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.265e-05/0.907, allocations: 49.98 kB / 1.032 GB, free: 3.688 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004088/0.9111, allocations: 1.561 MB / 1.034 GB, free: 2.125 MB / 0.7637 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007595/0.9187, allocations: 5.035 MB / 1.039 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003432/0.9221, allocations: 1.137 MB / 1.04 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.9238, allocations: 0.6277 MB / 1.04 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001444/0.9253, allocations: 0.9527 MB / 1.041 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001896/0.9272, allocations: 0.7224 MB / 1.042 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=82): time 3.186e-06/0.9272, allocations: 4 kB / 1.042 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of matching and sorting (n=82): time 0.006095/0.9332, allocations: 1.957 MB / 1.044 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.9333, allocations: 64.06 kB / 1.044 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.935, allocations: 1.272 MB / 1.045 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.9351, allocations: 41.7 kB / 1.045 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005373/0.9357, allocations: 0.5724 MB / 1.046 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003068/0.936, allocations: 305.5 kB / 1.046 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003213/0.9363, allocations: 178.6 kB / 1.046 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.9365, allocations: 349.9 kB / 1.047 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/0.9381, allocations: 0.5484 MB / 1.047 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001867/0.94, allocations: 0.8169 MB / 1.048 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003389/0.9433, allocations: 1.348 MB / 1.049 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.9434, allocations: 0 / 1.049 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004089/0.9474, allocations: 1.523 MB / 1.051 GB, free: 15.96 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.9475, allocations: 8 kB / 1.051 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.9475, allocations: 11.98 kB / 1.051 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.92e-05/0.9475, allocations: 8 kB / 1.051 GB, free: 15.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.949, allocations: 300.1 kB / 1.051 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.351e-05/0.949, allocations: 15.98 kB / 1.051 GB, free: 15.62 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.9504, allocations: 207 kB / 1.051 GB, free: 15.42 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.9505, allocations: 59.91 kB / 1.051 GB, free: 15.36 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0005841/0.9511, allocations: 328.3 kB / 1.052 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.9513, allocations: 147 kB / 1.052 GB, free: 14.89 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003955/0.9553, allocations: 1.444 MB / 1.053 GB, free: 13.44 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.9553, allocations: 12 kB / 1.053 GB, free: 13.43 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-06/0.9553, allocations: 0 / 1.053 GB, free: 13.43 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.9553, allocations: 7.922 kB / 1.053 GB, free: 13.42 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006179/0.9615, allocations: 2.85 MB / 1.056 GB, free: 10.46 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.9615, allocations: 4.5 kB / 1.056 GB, free: 10.46 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.9627, allocations: 227.7 kB / 1.056 GB, free: 10.23 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.9627, allocations: 8 kB / 1.056 GB, free: 10.23 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-05/0.9628, allocations: 31.97 kB / 1.056 GB, free: 10.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.9628, allocations: 4 kB / 1.056 GB, free: 10.19 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/0.9628, allocations: 15.77 kB / 1.056 GB, free: 10.18 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006327/0.9692, allocations: 2.311 MB / 1.059 GB, free: 7.801 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007231/0.9699, allocations: 315.9 kB / 1.059 GB, free: 7.473 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.9701, allocations: 20 kB / 1.059 GB, free: 7.453 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.9712, allocations: 115.8 kB / 1.059 GB, free: 7.34 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.9713, allocations: 64.38 kB / 1.059 GB, free: 7.277 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.069e-05/0.9714, allocations: 35.97 kB / 1.059 GB, free: 7.242 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001242/0.9726, allocations: 0.8763 MB / 1.06 GB, free: 6.363 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9726, allocations: 3.938 kB / 1.06 GB, free: 6.359 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001065/0.9737, allocations: 319.7 kB / 1.06 GB, free: 6.047 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (82): * Single equations (assignments): 76 * 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.007708/0.9814, allocations: 3.302 MB / 1.063 GB, free: 2.855 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003701/0.9851, allocations: 1.277 MB / 1.065 GB, free: 1.574 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.9851, allocations: 4 kB / 1.065 GB, free: 1.57 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001764/0.9869, allocations: 0.6326 MB / 1.065 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/0.9897, allocations: 0.6196 MB / 1.066 GB, free: 332 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02114/1.011, allocations: 11.16 MB / 1.077 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/1.012, allocations: 1.167 MB / 1.078 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001442/1.013, allocations: 346.2 kB / 1.078 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008571/1.014, allocations: 499.2 kB / 1.079 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of SimCode: time 1.212e-06/1.014, allocations: 0 / 1.079 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08304/1.097, allocations: 35.22 MB / 1.113 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.83, allocations: 12 kB / 1.113 GB, free: 15.97 MB / 0.8575 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.932975044939667] Failed to read output from testmodel.py, exit status != 0: 11.971094293054193 11.987668354 11.092433826 Calling exit ...