Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.899/1.899, allocations: 289.7 MB / 302.2 MB, free: 2.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001616/0.001616, allocations: 184.6 kB / 371.6 MB, free: 3.43 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008852/0.0008852, allocations: 90.09 kB / 0.745 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.397e-05/4.421e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2668, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.204/1.471, allocations: 390.1 MB / 1.361 GB, free: 6.629 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004459/1.472, allocations: 87.56 kB / 1.361 GB, free: 6.586 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.386/2.858, allocations: 253.8 MB / 1.609 GB, free: 160.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.475e-06/2.858, allocations: 0 / 1.609 GB, free: 160.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001195/2.858, allocations: 19.98 kB / 1.609 GB, free: 160.8 MB / 0.948 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.003056/2.861, allocations: 0.9229 MB / 1.61 GB, free: 159.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.612e-05/2.861, allocations: 8.031 kB / 1.61 GB, free: 159.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002357/2.861, allocations: 74.53 kB / 1.61 GB, free: 159.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/2.862, allocations: 183 kB / 1.61 GB, free: 159.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02588/2.888, allocations: 11.76 MB / 1.621 GB, free: 147.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003936/2.889, allocations: 96.72 kB / 1.622 GB, free: 147.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/2.889, allocations: 36 kB / 1.622 GB, free: 147.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/2.89, allocations: 462.2 kB / 1.622 GB, free: 147.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.428e-05/2.89, allocations: 4 kB / 1.622 GB, free: 147.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.818e-05/2.891, allocations: 19.98 kB / 1.622 GB, free: 147 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.304e-05/2.891, allocations: 11.95 kB / 1.622 GB, free: 147 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007145/2.891, allocations: 315 kB / 1.622 GB, free: 146.7 MB / 0.948 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.004822/2.896, allocations: 2.272 MB / 1.625 GB, free: 144.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006593/2.897, allocations: 268.7 kB / 1.625 GB, free: 144 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/2.897, allocations: 186 kB / 1.625 GB, free: 143.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004358/2.898, allocations: 344.6 kB / 1.625 GB, free: 143.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004919/2.898, allocations: 259.9 kB / 1.626 GB, free: 143.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 4.659e-06/2.898, allocations: 4 kB / 1.626 GB, free: 143.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001419/2.9, allocations: 482.3 kB / 1.626 GB, free: 142.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.07e-05/2.9, allocations: 89.11 kB / 1.626 GB, free: 142.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008287/2.9, allocations: 428.7 kB / 1.627 GB, free: 142.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.811e-05/2.901, allocations: 33.7 kB / 1.627 GB, free: 142 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/2.901, allocations: 280.4 kB / 1.627 GB, free: 141.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/2.901, allocations: 102.5 kB / 1.627 GB, free: 141.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/2.901, allocations: 8 kB / 1.627 GB, free: 141.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001643/2.901, allocations: 362.8 kB / 1.627 GB, free: 141.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/2.901, allocations: 124 kB / 1.627 GB, free: 141.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/2.902, allocations: 232.4 kB / 1.628 GB, free: 140.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/2.902, allocations: 177.5 kB / 1.628 GB, free: 140.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/2.902, allocations: 3.953 kB / 1.628 GB, free: 140.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001002/2.903, allocations: 0.5264 MB / 1.628 GB, free: 140.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002959/2.903, allocations: 0.6494 MB / 1.629 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/2.903, allocations: 4 kB / 1.629 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002942/2.904, allocations: 52.86 kB / 1.629 GB, free: 139.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/2.904, allocations: 87.88 kB / 1.629 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005976/2.905, allocations: 0.5953 MB / 1.63 GB, free: 138.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008676/2.906, allocations: 83.69 kB / 1.63 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-05/2.906, allocations: 23.98 kB / 1.63 GB, free: 138.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/2.906, allocations: 4 kB / 1.63 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008935/2.907, allocations: 486.2 kB / 1.63 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/2.907, allocations: 0 / 1.63 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001939/2.907, allocations: 53.02 kB / 1.63 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/2.907, allocations: 83.83 kB / 1.63 GB, free: 138 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/2.909, allocations: 1.631 MB / 1.632 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000809/2.91, allocations: 79.69 kB / 1.632 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.901e-05/2.91, allocations: 23.98 kB / 1.632 GB, free: 136.1 MB / 0.948 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.0003006/2.91, allocations: 160.5 kB / 1.632 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/2.911, allocations: 59.25 kB / 1.632 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/2.912, allocations: 0.5786 MB / 1.633 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/2.912, allocations: 4 kB / 1.633 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/2.912, allocations: 0 / 1.633 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009143/2.913, allocations: 0.7287 MB / 1.634 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/2.915, allocations: 1.213 MB / 1.635 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/2.915, allocations: 4 kB / 1.635 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/2.915, allocations: 68.05 kB / 1.635 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001545/2.916, allocations: 52.75 kB / 1.635 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/2.916, allocations: 12 kB / 1.635 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003333/2.916, allocations: 0.5797 MB / 1.635 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/2.916, allocations: 0 / 1.635 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/2.917, allocations: 0.883 MB / 1.636 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003802/2.918, allocations: 188.3 kB / 1.636 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/2.918, allocations: 8 kB / 1.637 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006581/2.918, allocations: 79.73 kB / 1.637 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.693e-05/2.919, allocations: 23.91 kB / 1.637 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.454e-05/2.919, allocations: 23.98 kB / 1.637 GB, free: 131.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004101/2.919, allocations: 337.5 kB / 1.637 GB, free: 130.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.31e-07/2.919, allocations: 0 / 1.637 GB, free: 130.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001781/2.921, allocations: 375.5 kB / 1.637 GB, free: 130.5 MB / 0.948 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.002553/2.923, allocations: 1.909 MB / 1.639 GB, free: 128.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001672/2.925, allocations: 0.844 MB / 1.64 GB, free: 127.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/2.925, allocations: 0.75 kB / 1.64 GB, free: 127.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003774/2.926, allocations: 283.3 kB / 1.64 GB, free: 127.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/2.927, allocations: 243.7 kB / 1.64 GB, free: 127.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/2.93, allocations: 0.9377 MB / 1.641 GB, free: 126.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/2.93, allocations: 0.8911 MB / 1.642 GB, free: 125.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000817/2.931, allocations: 164.2 kB / 1.642 GB, free: 125 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/2.931, allocations: 195.3 kB / 1.643 GB, free: 124.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.563e-06/2.932, allocations: 0 / 1.643 GB, free: 124.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04713/2.979, allocations: 18.83 MB / 1.661 GB, free: 106.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/2.979, allocations: 221.5 kB / 1.661 GB, free: 106 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.75/5.729, allocations: 4 kB / 1.661 GB, free: 106 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_ConservationEquation.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)