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.47/1.47, allocations: 249.5 MB / 257 MB, free: 6.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 179.7 kB / 316.3 MB, free: 3.227 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.948/1.948, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0009133/0.0009136, allocations: 97.27 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.167e-05/2.142e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2157, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.231, allocations: 381.9 MB / 1.258 GB, free: 3.676 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/1.232, allocations: 87.08 kB / 1.258 GB, free: 3.633 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9719/2.204, allocations: 245.2 MB / 1.498 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.934e-06/2.204, allocations: 0 / 1.498 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.728e-05/2.204, allocations: 19.98 kB / 1.498 GB, free: 116.4 MB / 0.8698 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.001648/2.205, allocations: 0.9131 MB / 1.499 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/2.205, allocations: 8.031 kB / 1.499 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008026/2.206, allocations: 187 kB / 1.499 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02116/2.227, allocations: 11.39 MB / 1.51 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003115/2.228, allocations: 80.72 kB / 1.51 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/2.228, allocations: 27.94 kB / 1.51 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00051/2.228, allocations: 293.5 kB / 1.51 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/2.229, allocations: 404.7 kB / 1.511 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/2.229, allocations: 0 / 1.511 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/2.229, allocations: 3.953 kB / 1.511 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/2.229, allocations: 8 kB / 1.511 GB, free: 102.9 MB / 0.8698 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.00248/2.232, allocations: 2.185 MB / 1.513 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/2.232, allocations: 270.8 kB / 1.513 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/2.232, allocations: 169 kB / 1.513 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002384/2.232, allocations: 344.7 kB / 1.514 GB, free: 99.68 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002848/2.233, allocations: 246.7 kB / 1.514 GB, free: 99.42 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/2.233, allocations: 0 / 1.514 GB, free: 99.42 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.001013/2.234, allocations: 470 kB / 1.514 GB, free: 98.95 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/2.234, allocations: 89.09 kB / 1.514 GB, free: 98.85 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/2.234, allocations: 361.4 kB / 1.515 GB, free: 98.49 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/2.234, allocations: 25.7 kB / 1.515 GB, free: 98.46 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/2.234, allocations: 276.3 kB / 1.515 GB, free: 98.18 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-05/2.234, allocations: 114.3 kB / 1.515 GB, free: 98.07 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/2.234, allocations: 0 / 1.515 GB, free: 98.07 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.566e-05/2.234, allocations: 358.8 kB / 1.516 GB, free: 97.71 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/2.235, allocations: 127.7 kB / 1.516 GB, free: 97.59 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/2.235, allocations: 223.3 kB / 1.516 GB, free: 97.33 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/2.235, allocations: 167.7 kB / 1.516 GB, free: 97.16 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/2.235, allocations: 0 / 1.516 GB, free: 97.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007934/2.236, allocations: 493.6 kB / 1.517 GB, free: 96.67 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001673/2.236, allocations: 0.6452 MB / 1.517 GB, free: 95.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/2.236, allocations: 0 / 1.517 GB, free: 95.97 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001837/2.236, allocations: 48.8 kB / 1.517 GB, free: 95.92 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/2.237, allocations: 87.88 kB / 1.517 GB, free: 95.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000348/2.237, allocations: 0.603 MB / 1.518 GB, free: 95.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005386/2.238, allocations: 79.8 kB / 1.518 GB, free: 95.13 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.076e-05/2.238, allocations: 19.98 kB / 1.518 GB, free: 95.11 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.695e-06/2.238, allocations: 4 kB / 1.518 GB, free: 95.11 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007283/2.238, allocations: 436.1 kB / 1.518 GB, free: 94.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-06/2.238, allocations: 4.188 kB / 1.518 GB, free: 94.67 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00013/2.239, allocations: 44.92 kB / 1.518 GB, free: 94.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/2.239, allocations: 91.81 kB / 1.519 GB, free: 94.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/2.24, allocations: 1.567 MB / 1.52 GB, free: 92.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/2.241, allocations: 63.89 kB / 1.52 GB, free: 92.78 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/2.241, allocations: 23.94 kB / 1.52 GB, free: 92.75 MB / 0.8698 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.0001676/2.241, allocations: 153.6 kB / 1.52 GB, free: 92.59 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007422/2.241, allocations: 481.6 kB / 1.521 GB, free: 92.11 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.416e-05/2.242, allocations: 59.34 kB / 1.521 GB, free: 92.05 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008901/2.242, allocations: 0.5071 MB / 1.521 GB, free: 91.53 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/2.242, allocations: 11.95 kB / 1.521 GB, free: 91.52 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/2.242, allocations: 0 / 1.521 GB, free: 91.52 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007013/2.243, allocations: 0.6879 MB / 1.522 GB, free: 90.76 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/2.245, allocations: 1.118 MB / 1.523 GB, free: 89.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/2.245, allocations: 0 / 1.523 GB, free: 89.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/2.245, allocations: 71.84 kB / 1.523 GB, free: 89.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.222e-05/2.245, allocations: 40.94 kB / 1.523 GB, free: 89.47 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/2.245, allocations: 7.984 kB / 1.523 GB, free: 89.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002373/2.245, allocations: 0.5718 MB / 1.524 GB, free: 88.87 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/2.245, allocations: 0 / 1.524 GB, free: 88.87 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009613/2.246, allocations: 0.839 MB / 1.525 GB, free: 87.98 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/2.247, allocations: 180.3 kB / 1.525 GB, free: 87.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.78e-05/2.247, allocations: 8 kB / 1.525 GB, free: 87.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004991/2.247, allocations: 67.88 kB / 1.525 GB, free: 87.71 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/2.247, allocations: 23.91 kB / 1.525 GB, free: 87.69 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.094e-05/2.247, allocations: 23.98 kB / 1.525 GB, free: 87.66 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002536/2.248, allocations: 282.9 kB / 1.525 GB, free: 87.39 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/2.248, allocations: 0 / 1.525 GB, free: 87.39 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001225/2.249, allocations: 379.3 kB / 1.525 GB, free: 87.02 MB / 0.8698 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.001876/2.251, allocations: 1.862 MB / 1.527 GB, free: 85.11 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001078/2.252, allocations: 0.8111 MB / 1.528 GB, free: 84.26 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/2.252, allocations: 0.75 kB / 1.528 GB, free: 84.26 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002689/2.252, allocations: 271.3 kB / 1.528 GB, free: 83.98 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/2.253, allocations: 209.8 kB / 1.529 GB, free: 83.78 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/2.255, allocations: 0.8946 MB / 1.529 GB, free: 82.84 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/2.255, allocations: 0.8947 MB / 1.53 GB, free: 81.91 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006007/2.256, allocations: 144.1 kB / 1.53 GB, free: 81.77 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/2.256, allocations: 179.4 kB / 1.531 GB, free: 81.59 MB / 0.8698 GB Notification: Performance of SimCode: time 4.41e-07/2.256, allocations: 0 / 1.531 GB, free: 81.59 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/2.291, allocations: 15.89 MB / 1.546 GB, free: 65.82 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/2.291, allocations: 182.5 kB / 1.546 GB, free: 65.62 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/4.635, allocations: 4 kB / 1.546 GB, free: 65.62 MB / 0.8698 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)