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.476/1.476, allocations: 249.3 MB / 261.8 MB, free: 5.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.001298/0.001299, allocations: 180.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0009968/0.000997, allocations: 102.4 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.953e-05/2.954e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1868, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.191, allocations: 381.6 MB / 1.265 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/1.192, allocations: 81.83 kB / 1.265 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.03/2.222, allocations: 246.9 MB / 1.506 GB, free: 109 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.284e-06/2.222, allocations: 0 / 1.506 GB, free: 109 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.007e-05/2.222, allocations: 24.12 kB / 1.506 GB, free: 108.9 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.00163/2.224, allocations: 0.9169 MB / 1.507 GB, free: 108 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/2.224, allocations: 8.031 kB / 1.507 GB, free: 108 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.719e-05/2.224, allocations: 78.41 kB / 1.507 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007901/2.225, allocations: 191 kB / 1.507 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02231/2.247, allocations: 11.42 MB / 1.518 GB, free: 96.11 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003177/2.248, allocations: 92.72 kB / 1.518 GB, free: 96.02 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.447e-05/2.248, allocations: 40 kB / 1.518 GB, free: 95.98 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007456/2.248, allocations: 458.3 kB / 1.519 GB, free: 95.51 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/2.248, allocations: 3.938 kB / 1.519 GB, free: 95.51 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.507e-05/2.248, allocations: 15.95 kB / 1.519 GB, free: 95.49 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/2.248, allocations: 12 kB / 1.519 GB, free: 95.48 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004656/2.249, allocations: 315 kB / 1.519 GB, free: 95.17 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.002806/2.252, allocations: 2.26 MB / 1.521 GB, free: 92.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/2.252, allocations: 271.1 kB / 1.521 GB, free: 92.43 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/2.252, allocations: 193 kB / 1.522 GB, free: 92.24 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/2.253, allocations: 336.6 kB / 1.522 GB, free: 91.84 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003617/2.253, allocations: 253.5 kB / 1.522 GB, free: 91.57 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 4.178e-06/2.253, allocations: 0 / 1.522 GB, free: 91.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.0009158/2.254, allocations: 498.3 kB / 1.523 GB, free: 91.07 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/2.254, allocations: 85.11 kB / 1.523 GB, free: 90.97 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004306/2.255, allocations: 432.8 kB / 1.523 GB, free: 90.54 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/2.255, allocations: 33.64 kB / 1.523 GB, free: 90.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/2.255, allocations: 276.4 kB / 1.523 GB, free: 90.22 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.454e-05/2.255, allocations: 110.5 kB / 1.524 GB, free: 90.11 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.951e-05/2.255, allocations: 4 kB / 1.524 GB, free: 90.11 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001302/2.255, allocations: 370.7 kB / 1.524 GB, free: 89.74 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/2.255, allocations: 127.7 kB / 1.524 GB, free: 89.61 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/2.255, allocations: 231.3 kB / 1.524 GB, free: 89.35 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/2.256, allocations: 177.5 kB / 1.524 GB, free: 89.17 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/2.256, allocations: 0 / 1.524 GB, free: 89.17 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007364/2.256, allocations: 0.5192 MB / 1.525 GB, free: 88.63 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001723/2.257, allocations: 0.6605 MB / 1.526 GB, free: 87.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/2.257, allocations: 4 kB / 1.526 GB, free: 87.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002256/2.257, allocations: 52.83 kB / 1.526 GB, free: 87.86 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/2.257, allocations: 83.88 kB / 1.526 GB, free: 87.78 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003684/2.258, allocations: 0.5914 MB / 1.526 GB, free: 87.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006275/2.258, allocations: 87.69 kB / 1.526 GB, free: 87.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.613e-05/2.258, allocations: 20 kB / 1.526 GB, free: 87.05 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/2.258, allocations: 1.562 kB / 1.526 GB, free: 87.05 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007271/2.259, allocations: 478 kB / 1.527 GB, free: 86.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/2.259, allocations: 8.188 kB / 1.527 GB, free: 86.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001555/2.259, allocations: 52.77 kB / 1.527 GB, free: 86.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/2.26, allocations: 75.95 kB / 1.527 GB, free: 86.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/2.261, allocations: 1.631 MB / 1.529 GB, free: 84.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006641/2.262, allocations: 83.69 kB / 1.529 GB, free: 84.58 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/2.262, allocations: 19.98 kB / 1.529 GB, free: 84.56 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.0001976/2.262, allocations: 156 kB / 1.529 GB, free: 84.39 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.526e-05/2.262, allocations: 63.23 kB / 1.529 GB, free: 84.33 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009668/2.263, allocations: 0.5713 MB / 1.529 GB, free: 83.75 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/2.263, allocations: 4 kB / 1.529 GB, free: 83.74 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/2.263, allocations: 0 / 1.529 GB, free: 83.74 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000685/2.264, allocations: 0.7325 MB / 1.53 GB, free: 82.93 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/2.265, allocations: 1.221 MB / 1.531 GB, free: 81.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/2.265, allocations: 0 / 1.531 GB, free: 81.64 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003522/2.266, allocations: 72.05 kB / 1.531 GB, free: 81.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001322/2.266, allocations: 40.84 kB / 1.531 GB, free: 81.52 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/2.266, allocations: 15.98 kB / 1.531 GB, free: 81.51 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000274/2.266, allocations: 0.5758 MB / 1.532 GB, free: 80.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/2.266, allocations: 0 / 1.532 GB, free: 80.91 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/2.267, allocations: 0.8873 MB / 1.533 GB, free: 79.96 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/2.267, allocations: 188.3 kB / 1.533 GB, free: 79.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.125e-05/2.268, allocations: 11.95 kB / 1.533 GB, free: 79.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005559/2.268, allocations: 71.91 kB / 1.533 GB, free: 79.68 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/2.268, allocations: 19.97 kB / 1.533 GB, free: 79.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/2.268, allocations: 27.92 kB / 1.533 GB, free: 79.63 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003755/2.269, allocations: 329.6 kB / 1.533 GB, free: 79.31 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/2.269, allocations: 0 / 1.533 GB, free: 79.31 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001451/2.27, allocations: 383.4 kB / 1.534 GB, free: 78.94 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.002184/2.272, allocations: 1.914 MB / 1.536 GB, free: 76.98 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001401/2.274, allocations: 0.8421 MB / 1.537 GB, free: 76.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/2.274, allocations: 64 / 1.537 GB, free: 76.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003278/2.274, allocations: 275.7 kB / 1.537 GB, free: 75.82 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/2.275, allocations: 242.7 kB / 1.537 GB, free: 75.58 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/2.277, allocations: 0.9388 MB / 1.538 GB, free: 74.59 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/2.278, allocations: 0.8871 MB / 1.539 GB, free: 73.68 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007134/2.278, allocations: 160.2 kB / 1.539 GB, free: 73.52 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/2.279, allocations: 187.4 kB / 1.539 GB, free: 73.34 MB / 0.8698 GB Notification: Performance of SimCode: time 7.51e-07/2.279, allocations: 0 / 1.539 GB, free: 73.34 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03917/2.318, allocations: 18.77 MB / 1.557 GB, free: 54.76 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/2.318, allocations: 238.3 kB / 1.558 GB, free: 54.45 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.6/4.918, allocations: 3.938 kB / 1.558 GB, free: 54.44 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)