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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8694/0.8694, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 183.5 kB / 182.2 MB, free: 9.465 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.664/1.664, allocations: 221.5 MB / 436.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009205/0.0009206, allocations: 92.09 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001938/0.001939, allocations: 284.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.015e-05/2.028e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4989/0.4989, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.645/6.144, allocations: 2.118 GB / 2.875 GB, free: 169.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/6.144, allocations: 88.83 kB / 2.876 GB, free: 169.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.075/8.22, allocations: 0.598 GB / 3.474 GB, free: 120.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.136e-06/8.22, allocations: 0 / 3.474 GB, free: 120.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002958/8.22, allocations: 40.36 kB / 3.474 GB, free: 120.6 MB / 0.698 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.005421/8.226, allocations: 1.35 MB / 3.475 GB, free: 119.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.166e-05/8.226, allocations: 8.031 kB / 3.475 GB, free: 119.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00362/8.229, allocations: 0.5794 MB / 3.475 GB, free: 118.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003819/8.233, allocations: 0.9344 MB / 3.476 GB, free: 117.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.301e-05/8.233, allocations: 35.94 kB / 3.476 GB, free: 117.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003422/8.234, allocations: 44 kB / 3.476 GB, free: 117.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001361/8.235, allocations: 0.5545 MB / 3.477 GB, free: 117.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/8.236, allocations: 0.8301 MB / 3.478 GB, free: 116.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/8.236, allocations: 7.938 kB / 3.478 GB, free: 116.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.922e-05/8.236, allocations: 4 kB / 3.478 GB, free: 116.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.745e-05/8.236, allocations: 36.25 kB / 3.478 GB, free: 116.1 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.005134/8.242, allocations: 4.819 MB / 3.483 GB, free: 111.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000916/8.243, allocations: 0.5565 MB / 3.483 GB, free: 110.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/8.243, allocations: 290.4 kB / 3.483 GB, free: 110.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/8.244, allocations: 1.599 MB / 3.485 GB, free: 108.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005272/8.245, allocations: 373.9 kB / 3.485 GB, free: 108 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 3.316e-06/8.245, allocations: 3.219 kB / 3.485 GB, free: 108 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.001698/8.246, allocations: 0.7242 MB / 3.486 GB, free: 107.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/8.246, allocations: 59.97 kB / 3.486 GB, free: 107.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000935/8.247, allocations: 0.8389 MB / 3.487 GB, free: 106.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.063e-05/8.247, allocations: 33.7 kB / 3.487 GB, free: 106.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/8.248, allocations: 0.5579 MB / 3.487 GB, free: 105.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/8.248, allocations: 197.2 kB / 3.488 GB, free: 105.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/8.248, allocations: 3.406 kB / 3.488 GB, free: 105.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.335e-05/8.248, allocations: 337.9 kB / 3.488 GB, free: 105.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003349/8.248, allocations: 250.6 kB / 3.488 GB, free: 104.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/8.249, allocations: 0.5676 MB / 3.489 GB, free: 104.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007716/8.25, allocations: 347.5 kB / 3.489 GB, free: 103.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/8.25, allocations: 4 kB / 3.489 GB, free: 103.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001565/8.251, allocations: 0.8778 MB / 3.49 GB, free: 103 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/8.251, allocations: 8 kB / 3.49 GB, free: 103 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/8.251, allocations: 11.56 kB / 3.49 GB, free: 103 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/8.251, allocations: 15.17 kB / 3.49 GB, free: 103 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/8.252, allocations: 276.8 kB / 3.49 GB, free: 102.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/8.252, allocations: 15.94 kB / 3.49 GB, free: 102.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/8.254, allocations: 183.4 kB / 3.49 GB, free: 102.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/8.254, allocations: 51.97 kB / 3.49 GB, free: 102.5 MB / 0.698 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002454/8.254, allocations: 138.6 kB / 3.491 GB, free: 102.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/8.254, allocations: 117.7 kB / 3.491 GB, free: 102.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/8.256, allocations: 1.016 MB / 3.492 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/8.256, allocations: 15.98 kB / 3.492 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/8.256, allocations: 3.781 kB / 3.492 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/8.256, allocations: 3.984 kB / 3.492 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003045/8.259, allocations: 1.993 MB / 3.494 GB, free: 99.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/8.259, allocations: 0 / 3.494 GB, free: 99.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009628/8.26, allocations: 212.9 kB / 3.494 GB, free: 98.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/8.26, allocations: 4 kB / 3.494 GB, free: 98.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-05/8.26, allocations: 19.97 kB / 3.494 GB, free: 98.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/8.26, allocations: 11.94 kB / 3.494 GB, free: 98.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/8.26, allocations: 0 / 3.494 GB, free: 98.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/8.262, allocations: 1.526 MB / 3.495 GB, free: 97.33 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/8.263, allocations: 299.3 kB / 3.496 GB, free: 97.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/8.263, allocations: 4 kB / 3.496 GB, free: 97.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009109/8.264, allocations: 130.5 kB / 3.496 GB, free: 96.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.073e-05/8.264, allocations: 56.36 kB / 3.496 GB, free: 96.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.596e-05/8.264, allocations: 35.97 kB / 3.496 GB, free: 96.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006741/8.265, allocations: 0.6324 MB / 3.497 GB, free: 96.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/8.265, allocations: 0 / 3.497 GB, free: 96.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001306/8.266, allocations: 371.5 kB / 3.497 GB, free: 95.8 MB / 0.698 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001501/8.268, allocations: 0.7442 MB / 3.498 GB, free: 95.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001093/8.269, allocations: 0.7235 MB / 3.498 GB, free: 94.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/8.269, allocations: 0 / 3.498 GB, free: 94.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005096/8.269, allocations: 407 kB / 3.499 GB, free: 94.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/8.271, allocations: 344.6 kB / 3.499 GB, free: 93.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/8.275, allocations: 1.767 MB / 3.501 GB, free: 92.03 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/8.275, allocations: 1.14 MB / 3.502 GB, free: 90.86 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001036/8.276, allocations: 248.7 kB / 3.502 GB, free: 90.63 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/8.277, allocations: 103.4 kB / 3.502 GB, free: 90.53 MB / 0.698 GB Notification: Performance of SimCode: time 7.11e-07/8.277, allocations: 4 kB / 3.502 GB, free: 90.52 MB / 0.698 GB Notification: Performance of Templates: time 0.02885/8.306, allocations: 17.6 MB / 3.519 GB, free: 73.39 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (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)