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.0007128/0.0007128, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009663/0.001679, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007023/0.0007023, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001009/0.001712, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.967/0.967, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09002/1.057, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.00129/0.00129, allocations: 248.9 kB / 244.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.002331, allocations: 467.6 kB / 244.7 MB, free: 14.17 MB / 250.7 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 0.7082/0.7082, allocations: 138.7 MB / 384.1 MB, free: 492 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07582/0.784, allocations: 42.4 MB / 426.5 MB, free: 5.945 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 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.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.092e-06/1.092e-06, allocations: 0 / 427.8 MB, free: 4.594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.96e-05, allocations: 2.312 kB / 427.8 MB, free: 4.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.2085/0.2085, allocations: 10.19 MB / 438 MB, free: 15.26 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.008056/0.2165, allocations: 3.98 MB / 442 MB, free: 13.54 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001901/0.2184, allocations: 66 kB / 442.1 MB, free: 13.5 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.2196, allocations: 0.5163 MB / 442.6 MB, free: 13.3 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002925/0.2225, allocations: 1.07 MB / 443.7 MB, free: 12.7 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.2252, allocations: 1.053 MB / 444.7 MB, free: 12.21 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004022/0.2293, allocations: 2.535 MB / 447.2 MB, free: 11.02 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.2305, allocations: 0.6747 MB / 447.9 MB, free: 10.55 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002093/0.2326, allocations: 1.363 MB / 449.3 MB, free: 9.773 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009212/0.2335, allocations: 0.6566 MB / 449.9 MB, free: 9.438 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.2337, allocations: 66.62 kB / 450 MB, free: 9.438 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006914/0.2344, allocations: 284.7 kB / 450.3 MB, free: 9.328 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.2346, allocations: 238.7 kB / 450.5 MB, free: 9.234 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000376/0.235, allocations: 301.3 kB / 450.8 MB, free: 9.184 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.2362, allocations: 0.9246 MB / 451.7 MB, free: 8.723 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.628e-05/0.2362, allocations: 0 / 451.7 MB, free: 8.723 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2362, allocations: 0 / 451.7 MB, free: 8.723 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.136e-05/0.2362, allocations: 1.406 kB / 451.7 MB, free: 8.723 MB / 426.7 MB 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.002115/0.2383, allocations: 1.78 MB / 453.5 MB, free: 7.023 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.2384, allocations: 10.16 kB / 453.5 MB, free: 7.016 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.2396, allocations: 452.6 kB / 454 MB, free: 6.582 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009897/0.2406, allocations: 0.736 MB / 454.7 MB, free: 5.805 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/0.2406, allocations: 64.7 kB / 454.8 MB, free: 5.742 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-05/0.2407, allocations: 72.38 kB / 454.8 MB, free: 5.672 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00088/0.2416, allocations: 0.7992 MB / 455.6 MB, free: 4.793 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.2416, allocations: 5.031 kB / 455.6 MB, free: 4.789 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.484e-05/0.2416, allocations: 28 kB / 455.7 MB, free: 4.762 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.2416, allocations: 23.94 kB / 455.7 MB, free: 4.738 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006648/0.2423, allocations: 295.1 kB / 456 MB, free: 4.457 MB / 426.7 MB 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.002691/0.245, allocations: 3.338 MB / 459.3 MB, free: 1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005729/0.2456, allocations: 391.3 kB / 459.7 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.2457, allocations: 139 kB / 459.8 MB, free: 488 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002108/0.2459, allocations: 54.19 kB / 459.9 MB, free: 436 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003431/0.2463, allocations: 279.9 kB / 460.2 MB, free: 148 kB / 426.7 MB Notification: Performance of pre-optimization done (n=61): time 2.725e-06/0.2463, allocations: 0 / 460.2 MB, free: 148 kB / 426.7 MB Notification: Performance of matching and sorting (n=61): time 0.0006363/0.2469, allocations: 421.3 kB / 460.6 MB, free: 15.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.247, allocations: 61.38 kB / 460.6 MB, free: 15.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005976/0.2476, allocations: 0.8539 MB / 461.5 MB, free: 14.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.179e-05/0.2476, allocations: 41.7 kB / 461.5 MB, free: 14.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.2478, allocations: 414.4 kB / 461.9 MB, free: 14.33 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.2479, allocations: 215.5 kB / 462.1 MB, free: 14.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.2481, allocations: 162.5 kB / 462.3 MB, free: 13.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.044e-05/0.2482, allocations: 341.9 kB / 462.6 MB, free: 13.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.2483, allocations: 102.5 kB / 462.7 MB, free: 13.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006286/0.249, allocations: 0.5933 MB / 463.3 MB, free: 12.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000466/0.2494, allocations: 0.5101 MB / 463.8 MB, free: 12.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.2494, allocations: 4.969 kB / 463.8 MB, free: 12.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005795/0.25, allocations: 0.511 MB / 464.4 MB, free: 11.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.25, allocations: 12 kB / 464.4 MB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.25, allocations: 7.406 kB / 464.4 MB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2501, allocations: 12 kB / 464.4 MB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005243/0.2506, allocations: 256.5 kB / 464.6 MB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.2506, allocations: 17.03 kB / 464.7 MB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003841/0.251, allocations: 122.3 kB / 464.8 MB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/0.251, allocations: 39.97 kB / 464.8 MB, free: 11.19 MB / 442.7 MB 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.000209/0.2513, allocations: 173.5 kB / 465 MB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.214e-05/0.2513, allocations: 79.91 kB / 465.1 MB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007291/0.2521, allocations: 0.5997 MB / 465.7 MB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.2521, allocations: 11.94 kB / 465.7 MB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2521, allocations: 0 / 465.7 MB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.2521, allocations: 10.77 kB / 465.7 MB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.2534, allocations: 1.136 MB / 466.8 MB, free: 9.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.2534, allocations: 0.9375 kB / 466.8 MB, free: 9.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/0.2538, allocations: 170 kB / 467 MB, free: 8.996 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.254, allocations: 154.9 kB / 467.1 MB, free: 8.844 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.423e-06/0.254, allocations: 4.781 kB / 467.1 MB, free: 8.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.254, allocations: 23.97 kB / 467.2 MB, free: 8.816 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.254, allocations: 7.938 kB / 467.2 MB, free: 8.809 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.254, allocations: 3.125 kB / 467.2 MB, free: 8.809 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007762/0.2548, allocations: 0.7728 MB / 467.9 MB, free: 8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.483e-05/0.2549, allocations: 23.3 kB / 468 MB, free: 7.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.2552, allocations: 62.69 kB / 468 MB, free: 7.922 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.2552, allocations: 52.56 kB / 468.1 MB, free: 7.871 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.2553, allocations: 27.97 kB / 468.1 MB, free: 7.844 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003/0.2556, allocations: 437.8 kB / 468.5 MB, free: 7.406 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2556, allocations: 0.9375 kB / 468.5 MB, free: 7.406 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006145/0.2562, allocations: 283.5 kB / 468.8 MB, free: 7.129 MB / 442.7 MB 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.001429/0.2576, allocations: 0.6217 MB / 469.4 MB, free: 6.828 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005582/0.2582, allocations: 439.5 kB / 469.9 MB, free: 6.398 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.283e-05/0.2582, allocations: 16.75 kB / 469.9 MB, free: 6.383 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.2585, allocations: 236.7 kB / 470.1 MB, free: 6.148 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.2598, allocations: 486.5 kB / 470.6 MB, free: 5.703 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006904/0.2667, allocations: 1.862 MB / 472.4 MB, free: 3.797 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.2669, allocations: 233.5 kB / 472.7 MB, free: 3.551 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006792/0.2676, allocations: 197.1 kB / 472.9 MB, free: 3.398 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006012/0.2682, allocations: 346.9 kB / 473.2 MB, free: 3.059 MB / 442.7 MB Notification: Performance of SimCode: time 1.573e-06/0.2682, allocations: 0 / 473.2 MB, free: 3.059 MB / 442.7 MB Notification: Performance of Templates: time 0.02289/0.2911, allocations: 18.41 MB / 491.6 MB, free: 1.312 MB / 458.7 MB " [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: 3.9102679109200835]