Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.738/1.738, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009838/0.0009841, allocations: 180.4 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 223.2 MB / 0.6626 GB, free: 4.25 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008531/0.0008531, allocations: 96.92 kB / 0.7808 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004384, allocations: 12 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7985/0.7989, allocations: 120.3 MB / 1.026 GB, free: 55.85 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.37/5.169, allocations: 2.147 GB / 3.173 GB, free: 84.9 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/5.169, allocations: 89.55 kB / 3.173 GB, free: 84.81 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.076/7.246, allocations: 0.655 GB / 3.828 GB, free: 170 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.804e-06/7.246, allocations: 4 kB / 3.828 GB, free: 170 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001243/7.246, allocations: 41.36 kB / 3.828 GB, free: 170 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004385/7.25, allocations: 1.564 MB / 3.83 GB, free: 168.7 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/7.25, allocations: 7.656 kB / 3.83 GB, free: 168.7 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002818/7.253, allocations: 0.5395 MB / 3.83 GB, free: 168.5 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02257/7.276, allocations: 12.32 MB / 3.842 GB, free: 160.7 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001057/7.277, allocations: 315.7 kB / 3.842 GB, free: 160.6 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002925/7.277, allocations: 75 kB / 3.842 GB, free: 160.6 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/7.279, allocations: 1.172 MB / 3.844 GB, free: 159.9 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/7.28, allocations: 3.938 kB / 3.844 GB, free: 159.9 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/7.28, allocations: 27.12 kB / 3.844 GB, free: 159.9 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/7.28, allocations: 36.02 kB / 3.844 GB, free: 159.9 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002838/7.283, allocations: 1.237 MB / 3.845 GB, free: 159.3 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005632/7.288, allocations: 3.259 MB / 3.848 GB, free: 156.9 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/7.29, allocations: 0.7192 MB / 3.849 GB, free: 156.5 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006904/7.29, allocations: 443.5 kB / 3.849 GB, free: 156.3 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006641/7.291, allocations: 1.024 MB / 3.85 GB, free: 155.1 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008699/7.292, allocations: 0.5447 MB / 3.851 GB, free: 154.7 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=59): time 3.496e-06/7.292, allocations: 0 / 3.851 GB, free: 154.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=59): time 0.002718/7.295, allocations: 1.283 MB / 3.852 GB, free: 154.1 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/7.295, allocations: 169.8 kB / 3.852 GB, free: 153.9 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/7.297, allocations: 1.206 MB / 3.853 GB, free: 153.3 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/7.297, allocations: 41.27 kB / 3.853 GB, free: 153.2 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/7.297, allocations: 434.7 kB / 3.854 GB, free: 152.8 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/7.297, allocations: 196.8 kB / 3.854 GB, free: 152.7 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/7.297, allocations: 15.41 kB / 3.854 GB, free: 152.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.346e-05/7.297, allocations: 333.2 kB / 3.854 GB, free: 152.3 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/7.298, allocations: 495.7 kB / 3.855 GB, free: 152.1 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/7.3, allocations: 0.704 MB / 3.855 GB, free: 151.6 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/7.302, allocations: 1.016 MB / 3.856 GB, free: 150.6 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/7.302, allocations: 0 / 3.856 GB, free: 150.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002837/7.304, allocations: 1.334 MB / 3.858 GB, free: 149.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/7.304, allocations: 42.25 kB / 3.858 GB, free: 149.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/7.304, allocations: 0 / 3.858 GB, free: 149.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/7.304, allocations: 8 kB / 3.858 GB, free: 149.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009431/7.305, allocations: 219.9 kB / 3.858 GB, free: 149 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/7.305, allocations: 12 kB / 3.858 GB, free: 148.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/7.307, allocations: 306.9 kB / 3.858 GB, free: 148.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/7.307, allocations: 47.97 kB / 3.858 GB, free: 148.6 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 1 * 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.0005755/7.308, allocations: 333.1 kB / 3.859 GB, free: 148.3 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/7.308, allocations: 126.5 kB / 3.859 GB, free: 148.1 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001989/7.31, allocations: 1.043 MB / 3.86 GB, free: 147.1 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/7.31, allocations: 7.938 kB / 3.86 GB, free: 147.1 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/7.31, allocations: 4 kB / 3.86 GB, free: 147.1 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/7.31, allocations: 3.984 kB / 3.86 GB, free: 147.1 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004454/7.315, allocations: 3.409 MB / 3.863 GB, free: 143.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/7.315, allocations: 8 kB / 3.863 GB, free: 143.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005542/7.315, allocations: 136.2 kB / 3.863 GB, free: 143.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/7.315, allocations: 12 kB / 3.863 GB, free: 143.3 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.557e-05/7.315, allocations: 31.92 kB / 3.863 GB, free: 143.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.708e-06/7.315, allocations: 11.94 kB / 3.863 GB, free: 143.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/7.315, allocations: 15.94 kB / 3.863 GB, free: 143.3 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/7.317, allocations: 1.407 MB / 3.865 GB, free: 141.8 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005401/7.318, allocations: 343.3 kB / 3.865 GB, free: 141.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/7.318, allocations: 23.94 kB / 3.865 GB, free: 141.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/7.319, allocations: 131.9 kB / 3.865 GB, free: 141.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/7.319, allocations: 57.25 kB / 3.865 GB, free: 141.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.421e-05/7.319, allocations: 43.97 kB / 3.865 GB, free: 141.1 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00132/7.32, allocations: 0.8792 MB / 3.866 GB, free: 140.3 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.11e-07/7.32, allocations: 0 / 3.866 GB, free: 140.3 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001576/7.322, allocations: 455.6 kB / 3.867 GB, free: 139.8 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.00193/7.324, allocations: 1.618 MB / 3.868 GB, free: 138.2 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002175/7.326, allocations: 1.068 MB / 3.869 GB, free: 137.1 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/7.326, allocations: 4.375 kB / 3.869 GB, free: 137.1 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0007693/7.327, allocations: 0.5338 MB / 3.87 GB, free: 136.5 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003647/7.331, allocations: 0.5321 MB / 3.87 GB, free: 136 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/7.334, allocations: 2.313 MB / 3.873 GB, free: 133.6 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/7.334, allocations: 1.077 MB / 3.874 GB, free: 132.5 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.00125/7.336, allocations: 292.1 kB / 3.874 GB, free: 132.2 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/7.336, allocations: 87.39 kB / 3.874 GB, free: 132.1 MB / 0.9792 GB Notification: Performance of SimCode: time 7.92e-07/7.336, allocations: 0 / 3.874 GB, free: 132.1 MB / 0.9792 GB Notification: Performance of Templates: time 0.04685/7.383, allocations: 37.65 MB / 3.911 GB, free: 94.64 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)