Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.001436/0.001436, allocations: 118.2 kB / 17.13 MB, free: 5.758 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.001478/0.001478, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.364/1.364, allocations: 225.6 MB / 248.5 MB, free: 3.637 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.002308/0.002308, allocations: 286.1 kB / 303.6 MB, free: 3.695 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.036/1.036, allocations: 180.9 MB / 0.5268 GB, free: 2.727 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: translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002687/0.002687, allocations: 99.84 kB / 0.7259 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4589/0.4616, allocations: 94.15 MB / 0.8179 GB, free: 7.438 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.028/0.4896, allocations: 29.55 MB / 0.8467 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01134/0.5009, allocations: 6.886 MB / 0.8535 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.5023, allocations: 51.53 kB / 0.8535 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.5041, allocations: 0.7072 MB / 0.8542 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004243/0.5083, allocations: 1.515 MB / 0.8557 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003425/0.5117, allocations: 1.158 MB / 0.8568 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004232/0.516, allocations: 2.482 MB / 0.8592 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001393/0.5174, allocations: 0.6899 MB / 0.8599 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002539/0.5199, allocations: 1.041 MB / 0.8609 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.5216, allocations: 0.8672 MB / 0.8618 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.5218, allocations: 66.09 kB / 0.8618 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/0.524, allocations: 0.852 MB / 0.8627 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003422/0.5244, allocations: 286.2 kB / 0.8629 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007224/0.5251, allocations: 0.5533 MB / 0.8635 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002907/0.528, allocations: 1.622 MB / 0.8651 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.528, allocations: 0 / 0.8651 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.528, allocations: 7.938 kB / 0.8651 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.729e-05/0.528, allocations: 5.312 kB / 0.8651 GB, free: 7.258 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002869/0.5309, allocations: 1.602 MB / 0.8666 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.5309, allocations: 9.031 kB / 0.8667 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003509/0.5344, allocations: 0.6036 MB / 0.8672 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.536, allocations: 0.8795 MB / 0.8681 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.101e-05/0.5361, allocations: 57.97 kB / 0.8682 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.5362, allocations: 72.25 kB / 0.8682 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/0.5387, allocations: 1.102 MB / 0.8693 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.5387, allocations: 5.094 kB / 0.8693 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.209e-05/0.5388, allocations: 32.67 kB / 0.8693 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.5388, allocations: 17.59 kB / 0.8694 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003128/0.542, allocations: 1.001 MB / 0.8703 GB, free: 3.715 MB / 0.6075 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.00635/0.5483, allocations: 4.939 MB / 0.8752 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003027/0.5513, allocations: 0.8702 MB / 0.876 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.5528, allocations: 467.6 kB / 0.8765 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001527/0.5544, allocations: 1.584 MB / 0.878 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001725/0.5561, allocations: 0.5751 MB / 0.8786 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=61): time 3.958e-06/0.5561, allocations: 4 kB / 0.8786 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of matching and sorting (n=61): time 0.00502/0.5611, allocations: 1.486 MB / 0.88 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.5612, allocations: 59.22 kB / 0.8801 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.5626, allocations: 1.12 MB / 0.8812 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.448e-05/0.5627, allocations: 38.77 kB / 0.8812 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004791/0.5632, allocations: 0.5565 MB / 0.8818 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/0.5634, allocations: 214.6 kB / 0.882 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/0.5637, allocations: 164 kB / 0.8821 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.5638, allocations: 341.5 kB / 0.8824 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.5653, allocations: 455.8 kB / 0.8829 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.5671, allocations: 0.7139 MB / 0.8836 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003076/0.5702, allocations: 1.117 MB / 0.8847 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.5702, allocations: 3.094 kB / 0.8847 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003793/0.574, allocations: 1.278 MB / 0.8859 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.574, allocations: 7.906 kB / 0.8859 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.574, allocations: 7.312 kB / 0.8859 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/0.574, allocations: 13.62 kB / 0.8859 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.5752, allocations: 276.2 kB / 0.8862 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/0.5752, allocations: 12.16 kB / 0.8862 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.5765, allocations: 186.4 kB / 0.8864 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-05/0.5766, allocations: 48.53 kB / 0.8864 GB, free: 7.602 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0004975/0.5771, allocations: 295.2 kB / 0.8867 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.5774, allocations: 130.5 kB / 0.8868 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003757/0.5811, allocations: 1.364 MB / 0.8882 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.5811, allocations: 7.844 kB / 0.8882 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.5811, allocations: 1.5 kB / 0.8882 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.5811, allocations: 3.984 kB / 0.8882 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005085/0.5862, allocations: 2.371 MB / 0.8905 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.5862, allocations: 1.375 kB / 0.8905 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.5872, allocations: 194.3 kB / 0.8907 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.5872, allocations: 8.375 kB / 0.8907 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.857e-05/0.5873, allocations: 24.88 kB / 0.8907 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-06/0.5873, allocations: 4.562 kB / 0.8907 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5873, allocations: 2.062 kB / 0.8907 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005249/0.5926, allocations: 1.984 MB / 0.8927 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004722/0.593, allocations: 284.1 kB / 0.8929 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.5932, allocations: 19.98 kB / 0.893 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009317/0.5941, allocations: 103.9 kB / 0.8931 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.5942, allocations: 48.44 kB / 0.8931 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.25e-05/0.5943, allocations: 39.97 kB / 0.8931 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009779/0.5953, allocations: 0.7638 MB / 0.8939 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.5953, allocations: 0 / 0.8939 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00108/0.5964, allocations: 347.3 kB / 0.8942 GB, free: 1.574 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001923/0.5983, allocations: 0.6567 MB / 0.8949 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003421/0.6017, allocations: 1.083 MB / 0.8959 GB, free: 4 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.6017, allocations: 4 kB / 0.8959 GB, free: 0 / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001702/0.6034, allocations: 0.5423 MB / 0.8964 GB, free: 15.46 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.6054, allocations: 457 kB / 0.8969 GB, free: 15.02 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004944/0.6104, allocations: 2.423 MB / 0.8993 GB, free: 12.54 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007268/0.6111, allocations: 1.1 MB / 0.9003 GB, free: 11.41 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/0.6115, allocations: 115.4 kB / 0.9004 GB, free: 11.3 MB / 0.6388 GB Notification: Performance of SimCode: time 5.91e-07/0.6115, allocations: 0 / 0.9004 GB, free: 11.3 MB / 0.6388 GB Notification: Performance of Templates: time 0.0291/0.6406, allocations: 19.24 MB / 0.9192 GB, free: 8.266 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.749503877013922] Failed to read output from testmodel.py, exit status != 0: 0.6487892251461744 0.661570429 0.13069254399999994 Calling exit ...