Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.697/1.697, allocations: 288.2 MB / 303.2 MB, free: 8.043 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.001116/0.001116, allocations: 177 kB / 371.8 MB, free: 10.29 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.602/1.602, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008439/0.0008439, allocations: 91.75 kB / 0.7439 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004461/0.0004462, allocations: 12.09 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2322, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.892/1.124, allocations: 389.2 MB / 1.36 GB, free: 7.344 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/1.125, allocations: 86.7 kB / 1.36 GB, free: 7.297 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.015/2.139, allocations: 254.6 MB / 1.608 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.384e-06/2.139, allocations: 0 / 1.608 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 9.314e-05/2.14, allocations: 19.98 kB / 1.608 GB, free: 178.6 MB / 0.9323 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.00263/2.142, allocations: 1.028 MB / 1.609 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/2.142, allocations: 12.03 kB / 1.609 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002006/2.142, allocations: 74.53 kB / 1.609 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00094/2.143, allocations: 183 kB / 1.61 GB, free: 177.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02507/2.169, allocations: 11.84 MB / 1.621 GB, free: 165.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003368/2.169, allocations: 100.9 kB / 1.621 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/2.169, allocations: 40 kB / 1.621 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/2.17, allocations: 0.5007 MB / 1.622 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/2.17, allocations: 4 kB / 1.622 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.718e-05/2.17, allocations: 16 kB / 1.622 GB, free: 164.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/2.17, allocations: 11.95 kB / 1.622 GB, free: 164.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000974/2.171, allocations: 426.6 kB / 1.622 GB, free: 164.1 MB / 0.9323 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.00337/2.175, allocations: 2.257 MB / 1.624 GB, free: 161.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009522/2.176, allocations: 394.9 kB / 1.625 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002902/2.176, allocations: 344.7 kB / 1.625 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006025/2.177, allocations: 313.9 kB / 1.625 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 3.326e-06/2.177, allocations: 0 / 1.625 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.002193/2.179, allocations: 0.965 MB / 1.626 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/2.179, allocations: 85.11 kB / 1.626 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005734/2.18, allocations: 434 kB / 1.627 GB, free: 159 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.998e-05/2.18, allocations: 33.7 kB / 1.627 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/2.18, allocations: 276.4 kB / 1.627 GB, free: 158.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.045e-05/2.18, allocations: 106.5 kB / 1.627 GB, free: 158.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/2.18, allocations: 8 kB / 1.627 GB, free: 158.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.985e-05/2.18, allocations: 362.8 kB / 1.628 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004066/2.18, allocations: 183.7 kB / 1.628 GB, free: 158 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/2.181, allocations: 283.9 kB / 1.628 GB, free: 157.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004467/2.181, allocations: 233.7 kB / 1.628 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/2.181, allocations: 3.938 kB / 1.628 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001286/2.183, allocations: 0.63 MB / 1.629 GB, free: 156.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001636/2.183, allocations: 0.6451 MB / 1.629 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/2.183, allocations: 4 kB / 1.629 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002372/2.183, allocations: 52.83 kB / 1.63 GB, free: 156 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/2.183, allocations: 83.88 kB / 1.63 GB, free: 156 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000377/2.184, allocations: 0.5953 MB / 1.63 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000746/2.185, allocations: 83.72 kB / 1.63 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.577e-05/2.185, allocations: 27.97 kB / 1.63 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/2.185, allocations: 7.938 kB / 1.63 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001177/2.186, allocations: 0.5683 MB / 1.631 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/2.186, allocations: 3.938 kB / 1.631 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001659/2.186, allocations: 52.81 kB / 1.631 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/2.186, allocations: 80.05 kB / 1.631 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/2.188, allocations: 1.635 MB / 1.633 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006705/2.189, allocations: 83.78 kB / 1.633 GB, free: 152.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/2.189, allocations: 19.92 kB / 1.633 GB, free: 152.6 MB / 0.9323 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.0004342/2.189, allocations: 311.2 kB / 1.633 GB, free: 152.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/2.189, allocations: 59.53 kB / 1.633 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/2.191, allocations: 0.6649 MB / 1.634 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/2.191, allocations: 0 / 1.634 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/2.191, allocations: 4 kB / 1.634 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00119/2.192, allocations: 0.8284 MB / 1.634 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/2.194, allocations: 1.326 MB / 1.636 GB, free: 149.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/2.194, allocations: 0 / 1.636 GB, free: 149.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/2.195, allocations: 79.97 kB / 1.636 GB, free: 149.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001382/2.195, allocations: 36.84 kB / 1.636 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/2.195, allocations: 11.98 kB / 1.636 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002786/2.195, allocations: 0.5796 MB / 1.636 GB, free: 148.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/2.195, allocations: 0 / 1.636 GB, free: 148.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/2.197, allocations: 1.04 MB / 1.637 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003938/2.197, allocations: 196.3 kB / 1.638 GB, free: 147.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/2.198, allocations: 8 kB / 1.638 GB, free: 147.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006494/2.198, allocations: 75.8 kB / 1.638 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/2.198, allocations: 23.97 kB / 1.638 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.508e-05/2.198, allocations: 15.98 kB / 1.638 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004227/2.199, allocations: 342.8 kB / 1.638 GB, free: 146.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/2.199, allocations: 0 / 1.638 GB, free: 146.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001623/2.2, allocations: 375.5 kB / 1.638 GB, free: 146.4 MB / 0.9323 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.002836/2.203, allocations: 2.054 MB / 1.64 GB, free: 144.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002039/2.205, allocations: 0.9949 MB / 1.641 GB, free: 143.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/2.205, allocations: 0 / 1.641 GB, free: 143.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005491/2.206, allocations: 327.4 kB / 1.642 GB, free: 142.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/2.207, allocations: 236 kB / 1.642 GB, free: 142.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006715/2.214, allocations: 4.358 MB / 1.646 GB, free: 138.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/2.214, allocations: 0.8901 MB / 1.647 GB, free: 137.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006522/2.215, allocations: 124.3 kB / 1.647 GB, free: 137.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/2.215, allocations: 199.4 kB / 1.647 GB, free: 137 MB / 0.9323 GB Notification: Performance of SimCode: time 1.233e-06/2.215, allocations: 0 / 1.647 GB, free: 137 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03803/2.254, allocations: 17.86 MB / 1.665 GB, free: 119.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/2.254, allocations: 261.8 kB / 1.665 GB, free: 119.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.743/4.997, allocations: 0 / 1.665 GB, free: 119.1 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)