Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.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.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation") translateModel(BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9773/0.9773, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001107/0.001107, allocations: 180.6 kB / 182.2 MB, free: 9.457 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.549/1.549, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009479/0.0009479, allocations: 96.03 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001862/0.001862, allocations: 274.5 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.015e-05/2.009e-05, allocations: 8 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4563/0.4564, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8196/1.276, allocations: 359.7 MB / 1.109 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/1.276, allocations: 90.52 kB / 1.109 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.894/2.17, allocations: 257.4 MB / 1.36 GB, free: 89.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.663e-06/2.17, allocations: 0 / 1.36 GB, free: 89.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.987e-05/2.171, allocations: 23.98 kB / 1.36 GB, free: 89.93 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001618/2.172, allocations: 0.9135 MB / 1.361 GB, free: 88.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/2.172, allocations: 12.03 kB / 1.361 GB, free: 88.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007671/2.173, allocations: 183 kB / 1.361 GB, free: 88.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02103/2.194, allocations: 11.99 MB / 1.373 GB, free: 76.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003151/2.194, allocations: 76.72 kB / 1.373 GB, free: 76.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.113e-05/2.194, allocations: 24 kB / 1.373 GB, free: 76.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004992/2.195, allocations: 293.5 kB / 1.373 GB, free: 76.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/2.195, allocations: 412.7 kB / 1.374 GB, free: 75.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/2.196, allocations: 0 / 1.374 GB, free: 75.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.042e-05/2.196, allocations: 0 / 1.374 GB, free: 75.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/2.196, allocations: 16.77 kB / 1.374 GB, free: 75.77 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.002449/2.198, allocations: 2.189 MB / 1.376 GB, free: 73.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/2.198, allocations: 258.9 kB / 1.376 GB, free: 73.12 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/2.199, allocations: 173 kB / 1.376 GB, free: 72.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002288/2.199, allocations: 348.6 kB / 1.377 GB, free: 72.53 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002742/2.199, allocations: 242.8 kB / 1.377 GB, free: 72.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/2.199, allocations: 0 / 1.377 GB, free: 72.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001009/2.2, allocations: 470 kB / 1.377 GB, free: 71.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/2.2, allocations: 85.11 kB / 1.377 GB, free: 71.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/2.201, allocations: 369.4 kB / 1.378 GB, free: 71.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/2.201, allocations: 25.7 kB / 1.378 GB, free: 71.31 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/2.201, allocations: 280.2 kB / 1.378 GB, free: 71.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.88e-05/2.201, allocations: 110.4 kB / 1.378 GB, free: 70.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/2.201, allocations: 0 / 1.378 GB, free: 70.92 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.604e-05/2.201, allocations: 358.8 kB / 1.378 GB, free: 70.56 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/2.201, allocations: 120 kB / 1.378 GB, free: 70.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/2.201, allocations: 219.6 kB / 1.379 GB, free: 70.19 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/2.202, allocations: 164.8 kB / 1.379 GB, free: 70.03 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/2.202, allocations: 0 / 1.379 GB, free: 70.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007734/2.202, allocations: 0.4977 MB / 1.379 GB, free: 69.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/2.203, allocations: 0.6453 MB / 1.38 GB, free: 68.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/2.203, allocations: 0 / 1.38 GB, free: 68.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001718/2.203, allocations: 52.77 kB / 1.38 GB, free: 68.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/2.203, allocations: 83.89 kB / 1.38 GB, free: 68.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003342/2.203, allocations: 0.6069 MB / 1.381 GB, free: 68.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005455/2.204, allocations: 67.75 kB / 1.381 GB, free: 67.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/2.204, allocations: 24 kB / 1.381 GB, free: 67.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/2.204, allocations: 4 kB / 1.381 GB, free: 67.96 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007091/2.205, allocations: 420.4 kB / 1.381 GB, free: 67.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/2.205, allocations: 7.953 kB / 1.381 GB, free: 67.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001322/2.205, allocations: 49.02 kB / 1.381 GB, free: 67.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/2.205, allocations: 79.88 kB / 1.381 GB, free: 67.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/2.206, allocations: 1.579 MB / 1.383 GB, free: 65.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/2.207, allocations: 63.84 kB / 1.383 GB, free: 65.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/2.207, allocations: 23.94 kB / 1.383 GB, free: 65.62 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001591/2.207, allocations: 158.5 kB / 1.383 GB, free: 65.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/2.207, allocations: 51.34 kB / 1.383 GB, free: 65.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009156/2.208, allocations: 0.5237 MB / 1.384 GB, free: 64.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/2.208, allocations: 4 kB / 1.384 GB, free: 64.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/2.208, allocations: 7.891 kB / 1.384 GB, free: 64.85 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006945/2.209, allocations: 0.6727 MB / 1.384 GB, free: 64.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/2.21, allocations: 1.126 MB / 1.385 GB, free: 62.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/2.21, allocations: 0 / 1.385 GB, free: 62.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/2.211, allocations: 76.03 kB / 1.385 GB, free: 62.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.701e-05/2.211, allocations: 36.8 kB / 1.386 GB, free: 62.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/2.211, allocations: 15.92 kB / 1.386 GB, free: 62.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002327/2.211, allocations: 0.5796 MB / 1.386 GB, free: 62.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/2.211, allocations: 128 / 1.386 GB, free: 62.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009777/2.212, allocations: 0.8499 MB / 1.387 GB, free: 61.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/2.212, allocations: 184.4 kB / 1.387 GB, free: 61.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.764e-05/2.212, allocations: 4 kB / 1.387 GB, free: 61.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005176/2.213, allocations: 59.91 kB / 1.387 GB, free: 61.03 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/2.213, allocations: 23.97 kB / 1.387 GB, free: 61.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/2.213, allocations: 23.98 kB / 1.387 GB, free: 60.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002486/2.213, allocations: 286.9 kB / 1.387 GB, free: 60.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.92e-07/2.213, allocations: 0 / 1.387 GB, free: 60.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001251/2.215, allocations: 375.2 kB / 1.388 GB, free: 60.34 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007395/2.215, allocations: 433.6 kB / 1.388 GB, free: 59.92 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001056/2.216, allocations: 0.8122 MB / 1.389 GB, free: 59.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/2.216, allocations: 4 kB / 1.389 GB, free: 59.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002716/2.217, allocations: 264 kB / 1.389 GB, free: 58.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/2.218, allocations: 220.3 kB / 1.39 GB, free: 58.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/2.219, allocations: 0.757 MB / 1.39 GB, free: 57.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/2.22, allocations: 0.883 MB / 1.391 GB, free: 56.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005897/2.22, allocations: 148.2 kB / 1.391 GB, free: 56.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.801e-05/2.22, allocations: 39.42 kB / 1.391 GB, free: 56.7 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/2.22, allocations: 0 / 1.391 GB, free: 56.7 MB / 0.698 GB Notification: Performance of Templates: time 0.01699/2.237, allocations: 11.35 MB / 1.402 GB, free: 45.46 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)