Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.383/1.383, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 186.4 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205.4 MB / 0.5775 GB, free: 20.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008158/0.0008157, allocations: 89.27 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003393, allocations: 12.62 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2346, allocations: 106.3 MB / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8869/1.122, allocations: 381.7 MB / 1.273 GB, free: 2.223 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/1.122, allocations: 90.88 kB / 1.273 GB, free: 2.176 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.9674/2.089, allocations: 247.6 MB / 1.515 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.255e-06/2.089, allocations: 0 / 1.515 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.291e-05/2.089, allocations: 18.3 kB / 1.515 GB, free: 241.2 MB / 0.8855 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.001816/2.091, allocations: 1.03 MB / 1.516 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/2.091, allocations: 8.031 kB / 1.516 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.648e-05/2.091, allocations: 70.53 kB / 1.516 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007433/2.092, allocations: 187.6 kB / 1.516 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02049/2.113, allocations: 11.5 MB / 1.527 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003165/2.113, allocations: 96.94 kB / 1.527 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.802e-05/2.113, allocations: 36 kB / 1.527 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009535/2.114, allocations: 0.5007 MB / 1.528 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/2.114, allocations: 0 / 1.528 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.6e-05/2.114, allocations: 23.98 kB / 1.528 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/2.114, allocations: 8 kB / 1.528 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008738/2.115, allocations: 430.6 kB / 1.528 GB, free: 227.2 MB / 0.8855 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.002915/2.118, allocations: 2.254 MB / 1.531 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008798/2.119, allocations: 383 kB / 1.531 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002426/2.119, allocations: 348.6 kB / 1.531 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005404/2.12, allocations: 308.2 kB / 1.532 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 3.456e-06/2.12, allocations: 3.938 kB / 1.532 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.002136/2.122, allocations: 0.962 MB / 1.532 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/2.122, allocations: 85.09 kB / 1.533 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005115/2.122, allocations: 426.2 kB / 1.533 GB, free: 222 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/2.122, allocations: 37.7 kB / 1.533 GB, free: 222 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/2.123, allocations: 276.4 kB / 1.533 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.375e-05/2.123, allocations: 110.5 kB / 1.533 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.016e-05/2.123, allocations: 8 kB / 1.533 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000114/2.123, allocations: 358.8 kB / 1.534 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003941/2.123, allocations: 189.4 kB / 1.534 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004358/2.124, allocations: 282.8 kB / 1.534 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/2.124, allocations: 226 kB / 1.534 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/2.124, allocations: 0 / 1.534 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001161/2.125, allocations: 0.632 MB / 1.535 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001874/2.125, allocations: 0.649 MB / 1.536 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/2.125, allocations: 11.94 kB / 1.536 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002369/2.126, allocations: 48.83 kB / 1.536 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/2.126, allocations: 83.88 kB / 1.536 GB, free: 219 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003789/2.126, allocations: 0.5914 MB / 1.536 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006187/2.127, allocations: 87.66 kB / 1.536 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.435e-05/2.127, allocations: 23.98 kB / 1.536 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/2.127, allocations: 4 kB / 1.536 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001104/2.128, allocations: 0.576 MB / 1.537 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/2.128, allocations: 0 / 1.537 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001387/2.128, allocations: 48.83 kB / 1.537 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/2.129, allocations: 88.03 kB / 1.537 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/2.13, allocations: 1.638 MB / 1.539 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005352/2.131, allocations: 75.7 kB / 1.539 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/2.131, allocations: 19.98 kB / 1.539 GB, free: 215.7 MB / 0.8855 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 () * Number of clocked 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.0003496/2.131, allocations: 296 kB / 1.539 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.118e-05/2.131, allocations: 71.17 kB / 1.539 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/2.132, allocations: 0.6751 MB / 1.54 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/2.132, allocations: 7.984 kB / 1.54 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/2.132, allocations: 4 kB / 1.54 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001019/2.133, allocations: 0.8215 MB / 1.541 GB, free: 213.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/2.135, allocations: 1.326 MB / 1.542 GB, free: 212.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/2.135, allocations: 0 / 1.542 GB, free: 212.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003637/2.136, allocations: 76.03 kB / 1.542 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001201/2.136, allocations: 44.77 kB / 1.542 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/2.136, allocations: 19.98 kB / 1.542 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002435/2.136, allocations: 0.568 MB / 1.543 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/2.136, allocations: 4.031 kB / 1.543 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/2.138, allocations: 1.043 MB / 1.544 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/2.138, allocations: 188.2 kB / 1.544 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.787e-05/2.138, allocations: 11.94 kB / 1.544 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005373/2.139, allocations: 75.86 kB / 1.544 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/2.139, allocations: 15.97 kB / 1.544 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/2.139, allocations: 28.05 kB / 1.544 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003131/2.139, allocations: 338.8 kB / 1.544 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/2.139, allocations: 0 / 1.544 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001266/2.14, allocations: 383.4 kB / 1.545 GB, free: 209.4 MB / 0.8855 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) * Number of clocked states: 0 () * 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.002386/2.143, allocations: 2.057 MB / 1.547 GB, free: 207.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001758/2.144, allocations: 0.9993 MB / 1.548 GB, free: 206.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/2.144, allocations: 0 / 1.548 GB, free: 206.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004879/2.145, allocations: 329.5 kB / 1.548 GB, free: 206 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/2.146, allocations: 232.7 kB / 1.548 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00504/2.151, allocations: 4.325 MB / 1.552 GB, free: 201.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/2.151, allocations: 0.8942 MB / 1.553 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005432/2.152, allocations: 128.3 kB / 1.553 GB, free: 200.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/2.152, allocations: 191.4 kB / 1.554 GB, free: 200.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.352e-06/2.152, allocations: 0 / 1.554 GB, free: 200.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/2.182, allocations: 17.76 MB / 1.571 GB, free: 182.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/2.182, allocations: 274.5 kB / 1.571 GB, free: 182.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/4.635, allocations: 4 kB / 1.571 GB, free: 182.2 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)