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.0009551/0.0009551, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.000996/0.000996, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 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 1.004/1.004, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.001992/0.001992, allocations: 249.4 kB / 260.5 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.7112/0.7112, allocations: 138.5 MB / 455.5 MB, free: 1.418 MB / 362.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.733e-06/1.733e-06, allocations: 0 / 0.5556 GB, free: 228 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.534e-05, allocations: 2.312 kB / 0.5556 GB, free: 224 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.007936/0.007961, allocations: 10.08 MB / 0.5655 GB, free: 6.09 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004511/0.01247, allocations: 3.87 MB / 0.5693 GB, free: 2.211 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003888/0.01286, allocations: 67.38 kB / 0.5693 GB, free: 2.145 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007248/0.01359, allocations: 0.5009 MB / 0.5698 GB, free: 1.641 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001242/0.01483, allocations: 1.076 MB / 0.5709 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.01609, allocations: 1.072 MB / 0.5719 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001606/0.01769, allocations: 2.562 MB / 0.5744 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006033/0.0183, allocations: 0.6898 MB / 0.5751 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.01934, allocations: 1.259 MB / 0.5763 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005897/0.01993, allocations: 0.7088 MB / 0.577 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.02003, allocations: 68 kB / 0.5771 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004065/0.02044, allocations: 275.5 kB / 0.5774 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.02063, allocations: 306.7 kB / 0.5776 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002833/0.02091, allocations: 358.9 kB / 0.578 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008765/0.02178, allocations: 1 MB / 0.579 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.02179, allocations: 0 / 0.579 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.82e-07/0.02179, allocations: 0 / 0.579 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.0218, allocations: 4 kB / 0.579 GB, free: 8.234 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.001609/0.02341, allocations: 1.601 MB / 0.5805 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.02345, allocations: 8.75 kB / 0.5805 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.02467, allocations: 0.5073 MB / 0.581 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007497/0.02542, allocations: 0.8248 MB / 0.5818 GB, free: 5.199 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.02545, allocations: 54.38 kB / 0.5819 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.861e-05/0.02553, allocations: 72.38 kB / 0.582 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000853/0.02638, allocations: 0.8505 MB / 0.5828 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.0264, allocations: 3.938 kB / 0.5828 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.02644, allocations: 36 kB / 0.5828 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.02646, allocations: 20 kB / 0.5828 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004678/0.02693, allocations: 320.6 kB / 0.5832 GB, free: 3.742 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.003161/0.03009, allocations: 4.818 MB / 0.5879 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/0.03066, allocations: 398.3 kB / 0.5882 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.03083, allocations: 153.1 kB / 0.5884 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001799/0.03101, allocations: 64.27 kB / 0.5884 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.03132, allocations: 271.7 kB / 0.5887 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 2.745e-06/0.03132, allocations: 3.984 kB / 0.5887 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.0007751/0.03209, allocations: 0.6017 MB / 0.5893 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.03212, allocations: 63.84 kB / 0.5894 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000555/0.03268, allocations: 0.9184 MB / 0.5903 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/0.03273, allocations: 45.69 kB / 0.5903 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/0.03303, allocations: 0.632 MB / 0.5909 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.03316, allocations: 226.1 kB / 0.5911 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.03332, allocations: 176.2 kB / 0.5913 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.03343, allocations: 0.5081 MB / 0.5918 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.03359, allocations: 113.9 kB / 0.5919 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006483/0.03424, allocations: 0.7169 MB / 0.5926 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/0.03472, allocations: 0.595 MB / 0.5932 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.03473, allocations: 4 kB / 0.5932 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006842/0.03541, allocations: 0.6685 MB / 0.5938 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.03543, allocations: 12.19 kB / 0.5939 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.03544, allocations: 15.88 kB / 0.5939 GB, free: 8.145 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.03545, allocations: 12 kB / 0.5939 GB, free: 8.133 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/0.03589, allocations: 215.7 kB / 0.5941 GB, free: 7.922 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.03591, allocations: 23.86 kB / 0.5941 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.03623, allocations: 123.4 kB / 0.5942 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.857e-05/0.03628, allocations: 39.97 kB / 0.5943 GB, free: 7.738 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.0001772/0.03646, allocations: 214.3 kB / 0.5945 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.03658, allocations: 139.2 kB / 0.5946 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008271/0.0374, allocations: 0.7251 MB / 0.5953 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.03741, allocations: 8 kB / 0.5953 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.03742, allocations: 7.938 kB / 0.5953 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.03742, allocations: 7.984 kB / 0.5953 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.03878, allocations: 1.382 MB / 0.5967 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.03879, allocations: 4 kB / 0.5967 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.03914, allocations: 147.9 kB / 0.5968 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.03914, allocations: 11.94 kB / 0.5968 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.03918, allocations: 19.98 kB / 0.5969 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.03918, allocations: 7.984 kB / 0.5969 GB, free: 5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.03919, allocations: 4 kB / 0.5969 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000929/0.04012, allocations: 0.9578 MB / 0.5978 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.04031, allocations: 198.8 kB / 0.598 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.79e-05/0.04038, allocations: 20 kB / 0.598 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.04065, allocations: 59.94 kB / 0.5981 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.04072, allocations: 56.5 kB / 0.5981 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.04076, allocations: 31.97 kB / 0.5982 GB, free: 3.633 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003044/0.04106, allocations: 0.531 MB / 0.5987 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.04106, allocations: 0 / 0.5987 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004737/0.04154, allocations: 291.5 kB / 0.5989 GB, free: 2.809 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.001189/0.04273, allocations: 458 kB / 0.5994 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005173/0.04324, allocations: 485.9 kB / 0.5998 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.04325, allocations: 0 / 0.5998 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002645/0.04351, allocations: 261.2 kB / 0.6001 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008377/0.04435, allocations: 400.5 kB / 0.6005 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1999/0.2442, allocations: 1.899 MB / 0.6023 GB, free: 93.09 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.2444, allocations: 234.9 kB / 0.6026 GB, free: 93.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006747/0.245, allocations: 189.9 kB / 0.6027 GB, free: 93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005744/0.2456, allocations: 408.3 kB / 0.6031 GB, free: 92.94 MB / 0.5105 GB Notification: Performance of SimCode: time 2.114e-06/0.2456, allocations: 0 / 0.6031 GB, free: 92.94 MB / 0.5105 GB Notification: Performance of Templates: time 0.02512/0.2707, allocations: 17.91 MB / 0.6206 GB, free: 90.25 MB / 0.5105 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.165260151028633]