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.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.00113/0.00113, allocations: 73.88 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001234/0.001234, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 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 0.9972/0.9972, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.006019/0.006019, allocations: 245.9 kB / 261.3 MB, free: 12.67 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7499/0.7499, allocations: 138.4 MB / 456.3 MB, free: 30.08 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: 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 1.613e-06/1.613e-06, allocations: 0 / 0.5564 GB, free: 15.83 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.639e-05, allocations: 6.312 kB / 0.5564 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.009014/0.00904, allocations: 10.08 MB / 0.5662 GB, free: 5.695 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004654/0.01369, allocations: 3.866 MB / 0.57 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003792/0.01407, allocations: 63.44 kB / 0.5701 GB, free: 1.758 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007212/0.01479, allocations: 0.5048 MB / 0.5706 GB, free: 1.25 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.01621, allocations: 1.084 MB / 0.5716 GB, free: 164 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.01747, allocations: 1.068 MB / 0.5727 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001633/0.01911, allocations: 2.57 MB / 0.5752 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006116/0.01972, allocations: 0.6821 MB / 0.5758 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.0208, allocations: 1.262 MB / 0.5771 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005722/0.02137, allocations: 0.7166 MB / 0.5778 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.001e-05/0.02145, allocations: 64 kB / 0.5778 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004968/0.02194, allocations: 263.6 kB / 0.5781 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.02215, allocations: 310.7 kB / 0.5784 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003167/0.02246, allocations: 359 kB / 0.5787 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00091/0.02337, allocations: 1.004 MB / 0.5797 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.02338, allocations: 0 / 0.5797 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.693e-06/0.02338, allocations: 0 / 0.5797 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.02339, allocations: 0 / 0.5797 GB, free: 7.844 MB / 0.4948 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.001461/0.02485, allocations: 1.598 MB / 0.5813 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.02488, allocations: 17.94 kB / 0.5813 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.02624, allocations: 0.5074 MB / 0.5818 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008503/0.02709, allocations: 0.817 MB / 0.5826 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.161e-05/0.02713, allocations: 58.38 kB / 0.5826 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.693e-05/0.02721, allocations: 68.38 kB / 0.5827 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009141/0.02813, allocations: 0.8505 MB / 0.5835 GB, free: 3.727 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.02815, allocations: 3.938 kB / 0.5835 GB, free: 3.723 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.214e-05/0.0282, allocations: 32 kB / 0.5836 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.02821, allocations: 20 kB / 0.5836 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003985/0.02861, allocations: 320.6 kB / 0.5839 GB, free: 3.359 MB / 0.4948 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.002866/0.03148, allocations: 4.838 MB / 0.5886 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006001/0.03208, allocations: 390.7 kB / 0.589 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.03226, allocations: 150.1 kB / 0.5891 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/0.03243, allocations: 56.44 kB / 0.5892 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003182/0.03275, allocations: 275.7 kB / 0.5894 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 1.963e-06/0.03275, allocations: 0 / 0.5894 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.0008032/0.03356, allocations: 0.6017 MB / 0.59 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.03359, allocations: 63.84 kB / 0.5901 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005485/0.03414, allocations: 0.9184 MB / 0.591 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/0.03419, allocations: 41.7 kB / 0.591 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.0345, allocations: 0.6359 MB / 0.5916 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.03462, allocations: 222.2 kB / 0.5919 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.03478, allocations: 176.1 kB / 0.592 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.0349, allocations: 0.512 MB / 0.5925 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.03507, allocations: 117.9 kB / 0.5926 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.03545, allocations: 0.713 MB / 0.5933 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004879/0.03594, allocations: 0.595 MB / 0.5939 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.03595, allocations: 0 / 0.5939 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0007326/0.03668, allocations: 0.6758 MB / 0.5946 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.03669, allocations: 12 kB / 0.5946 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.0367, allocations: 4 kB / 0.5946 GB, free: 7.766 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.03672, allocations: 12 kB / 0.5946 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/0.03719, allocations: 220.4 kB / 0.5948 GB, free: 7.539 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.0372, allocations: 19.88 kB / 0.5948 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.03756, allocations: 127.3 kB / 0.5949 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-05/0.03761, allocations: 39.97 kB / 0.595 GB, free: 7.355 MB / 0.5105 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.0001933/0.03781, allocations: 222.3 kB / 0.5952 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.03793, allocations: 135.2 kB / 0.5953 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008935/0.03883, allocations: 0.7285 MB / 0.596 GB, free: 6.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.03884, allocations: 8 kB / 0.596 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.03884, allocations: 3.938 kB / 0.596 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.03885, allocations: 3.984 kB / 0.5961 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.04026, allocations: 1.378 MB / 0.5974 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.04026, allocations: 4 kB / 0.5974 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.04065, allocations: 143.8 kB / 0.5975 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.04066, allocations: 7.938 kB / 0.5975 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.0407, allocations: 24.16 kB / 0.5976 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.0407, allocations: 8 kB / 0.5976 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.04071, allocations: 7.938 kB / 0.5976 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009774/0.04168, allocations: 0.9656 MB / 0.5985 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.04188, allocations: 190.9 kB / 0.5987 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.2e-05/0.04196, allocations: 23.94 kB / 0.5987 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/0.04227, allocations: 55.94 kB / 0.5988 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/0.04234, allocations: 56.5 kB / 0.5988 GB, free: 3.297 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.04238, allocations: 35.97 kB / 0.5989 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003064/0.04269, allocations: 0.531 MB / 0.5994 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.04269, allocations: 0 / 0.5994 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004913/0.04318, allocations: 287.5 kB / 0.5997 GB, free: 2.441 MB / 0.5105 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 (76): * Single equations (assignments): 61 * 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.0008999/0.04408, allocations: 473.7 kB / 0.6001 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005504/0.04463, allocations: 486 kB / 0.6006 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.04463, allocations: 0 / 0.6006 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002877/0.04492, allocations: 269.7 kB / 0.6008 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008825/0.0458, allocations: 408.5 kB / 0.6012 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.04788, allocations: 1.905 MB / 0.6031 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.04803, allocations: 232.5 kB / 0.6033 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004183/0.04845, allocations: 187.7 kB / 0.6035 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005966/0.04904, allocations: 409.8 kB / 0.6039 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of SimCode: time 8.11e-07/0.04904, allocations: 0 / 0.6039 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of Templates: time 0.01964/0.06868, allocations: 18.18 MB / 0.6216 GB, free: 12.45 MB / 0.5417 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.281754204072058]