Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5538/0.5538, allocations: 95.61 MB / 110.6 MB, free: 9.383 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001132/0.001132, allocations: 172.2 kB / 134.2 MB, free: 2.27 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.558/1.558, allocations: 170.7 MB / 328.4 MB, free: 12.21 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001705/0.001705, allocations: 112.5 kB / 390.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.0004107, allocations: 15.98 kB / 462.7 MB, free: 35.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1333, allocations: 61.53 MB / 0.512 GB, free: 6.098 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/1.138, allocations: 405.1 MB / 0.9076 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/1.139, allocations: 87.77 kB / 0.9077 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6422/1.781, allocations: 194.8 MB / 1.098 GB, free: 47.35 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.085e-06/1.781, allocations: 192 / 1.098 GB, free: 47.35 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.398e-05/1.781, allocations: 23.92 kB / 1.098 GB, free: 47.33 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001967/1.783, allocations: 0.9612 MB / 1.099 GB, free: 46.31 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/1.783, allocations: 15.98 kB / 1.099 GB, free: 46.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003379/1.783, allocations: 87.16 kB / 1.099 GB, free: 46.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/1.785, allocations: 0.6533 MB / 1.1 GB, free: 45.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/1.785, allocations: 33 kB / 1.1 GB, free: 45.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.379e-05/1.785, allocations: 48 kB / 1.1 GB, free: 45.44 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008535/1.785, allocations: 0.5406 MB / 1.1 GB, free: 44.85 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/1.786, allocations: 0 / 1.1 GB, free: 44.85 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.564e-05/1.786, allocations: 24 kB / 1.1 GB, free: 44.83 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/1.786, allocations: 12 kB / 1.1 GB, free: 44.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006067/1.786, allocations: 367.6 kB / 1.101 GB, free: 44.46 MB / 0.5261 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.002521/1.789, allocations: 2.422 MB / 1.103 GB, free: 41.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005869/1.789, allocations: 274.4 kB / 1.103 GB, free: 41.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008462/1.79, allocations: 1.125 MB / 1.104 GB, free: 40.22 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000501/1.791, allocations: 265.8 kB / 1.105 GB, free: 39.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 1.913e-06/1.791, allocations: 0 / 1.105 GB, free: 39.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38): time 0.01846/1.809, allocations: 2.64 MB / 1.107 GB, free: 37.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/1.809, allocations: 213.9 kB / 1.107 GB, free: 36.88 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005324/1.81, allocations: 474.3 kB / 1.108 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/1.81, allocations: 33.7 kB / 1.108 GB, free: 36.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/1.81, allocations: 331.7 kB / 1.108 GB, free: 36.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.815e-05/1.81, allocations: 122.2 kB / 1.108 GB, free: 35.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/1.81, allocations: 12 kB / 1.108 GB, free: 35.91 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.81, allocations: 374.7 kB / 1.109 GB, free: 35.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/1.811, allocations: 137 kB / 1.109 GB, free: 35.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/1.811, allocations: 346.2 kB / 1.109 GB, free: 34.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/1.811, allocations: 205.6 kB / 1.109 GB, free: 34.77 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.811, allocations: 4 kB / 1.109 GB, free: 34.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000937/1.812, allocations: 0.6404 MB / 1.11 GB, free: 34.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003545/1.813, allocations: 1.688 MB / 1.112 GB, free: 32.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.813, allocations: 7.953 kB / 1.112 GB, free: 32.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/1.814, allocations: 233.5 kB / 1.112 GB, free: 32.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/1.814, allocations: 75.91 kB / 1.112 GB, free: 31.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008371/1.815, allocations: 1.214 MB / 1.113 GB, free: 30.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004785/1.816, allocations: 51.89 kB / 1.113 GB, free: 30.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.367e-05/1.816, allocations: 27.98 kB / 1.113 GB, free: 30.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/1.816, allocations: 4 kB / 1.113 GB, free: 30.62 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009988/1.817, allocations: 0.668 MB / 1.114 GB, free: 29.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/1.817, allocations: 4 kB / 1.114 GB, free: 29.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004859/1.817, allocations: 142 kB / 1.114 GB, free: 29.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/1.817, allocations: 83.89 kB / 1.114 GB, free: 29.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/1.819, allocations: 2.253 MB / 1.116 GB, free: 27.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/1.819, allocations: 48.03 kB / 1.116 GB, free: 27.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/1.82, allocations: 24.09 kB / 1.116 GB, free: 27.19 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003933/1.82, allocations: 326.3 kB / 1.117 GB, free: 26.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/1.82, allocations: 63.25 kB / 1.117 GB, free: 26.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/1.821, allocations: 0.5679 MB / 1.117 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.821, allocations: 7.938 kB / 1.117 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/1.821, allocations: 0 / 1.117 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.821, allocations: 0 / 1.117 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/1.823, allocations: 1.122 MB / 1.118 GB, free: 25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/1.823, allocations: 0 / 1.118 GB, free: 25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/1.823, allocations: 55.91 kB / 1.118 GB, free: 24.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001276/1.824, allocations: 185.7 kB / 1.119 GB, free: 24.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/1.824, allocations: 15.98 kB / 1.119 GB, free: 24.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005645/1.825, allocations: 1.136 MB / 1.12 GB, free: 23.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.825, allocations: 0 / 1.12 GB, free: 23.56 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/1.826, allocations: 0.7908 MB / 1.12 GB, free: 22.74 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002358/1.826, allocations: 180.3 kB / 1.121 GB, free: 22.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.608e-05/1.826, allocations: 12 kB / 1.121 GB, free: 22.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/1.826, allocations: 23.98 kB / 1.121 GB, free: 22.51 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/1.827, allocations: 23.97 kB / 1.121 GB, free: 22.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/1.827, allocations: 24.03 kB / 1.121 GB, free: 22.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003428/1.827, allocations: 366.8 kB / 1.121 GB, free: 22.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/1.827, allocations: 0 / 1.121 GB, free: 22.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001583/1.829, allocations: 495.6 kB / 1.122 GB, free: 21.62 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dyn.medium.T) * Number of discrete variables: 5 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent) * Number of discrete states: 5 (QSen_flow.last,QSen_flow.nextEvent,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001108/1.83, allocations: 0.5231 MB / 1.122 GB, free: 21.09 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001819/1.831, allocations: 0.9295 MB / 1.123 GB, free: 20.13 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.831, allocations: 4.188 kB / 1.123 GB, free: 20.12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003387/1.832, allocations: 247.2 kB / 1.123 GB, free: 19.87 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/1.833, allocations: 253.8 kB / 1.123 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/1.835, allocations: 1.3 MB / 1.125 GB, free: 18.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/1.835, allocations: 0.9029 MB / 1.126 GB, free: 17.37 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000523/1.835, allocations: 144.9 kB / 1.126 GB, free: 17.22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.124e-05/1.835, allocations: 47.44 kB / 1.126 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of SimCode: time 1.212e-06/1.835, allocations: 0 / 1.126 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of Templates: time 0.02169/1.857, allocations: 15.29 MB / 1.141 GB, free: 1.949 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)