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.699/1.699, allocations: 292.6 MB / 307.5 MB, free: 5.172 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.001205/0.001205, allocations: 181.1 kB / 377.1 MB, free: 1.523 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.887/1.887, allocations: 205.4 MB / 0.6366 GB, free: 9.449 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.000926/0.0009259, allocations: 96.42 kB / 0.7509 GB, free: 62.63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003647, allocations: 12 kB / 0.8749 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2877, allocations: 116.3 MB / 0.9884 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9478/1.236, allocations: 390.2 MB / 1.369 GB, free: 64 kB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.5137/1.749, allocations: 88.36 kB / 1.37 GB, free: 281.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.5134/2.263, allocations: 254.6 MB / 1.618 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.944e-06/2.263, allocations: 0 / 1.618 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.689e-05/2.263, allocations: 19.98 kB / 1.618 GB, free: 117.7 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.002872/2.266, allocations: 1.031 MB / 1.619 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/2.266, allocations: 12.02 kB / 1.619 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002178/2.266, allocations: 74.53 kB / 1.619 GB, free: 116.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009658/2.267, allocations: 183 kB / 1.619 GB, free: 116.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02494/2.292, allocations: 11.83 MB / 1.631 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003406/2.293, allocations: 94.64 kB / 1.631 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/2.293, allocations: 44 kB / 1.631 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/2.294, allocations: 0.5046 MB / 1.632 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/2.294, allocations: 0 / 1.632 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.237e-05/2.294, allocations: 16 kB / 1.632 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/2.294, allocations: 15.95 kB / 1.632 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009756/2.295, allocations: 422.6 kB / 1.632 GB, free: 103.2 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.003242/2.298, allocations: 2.271 MB / 1.634 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009124/2.299, allocations: 390.9 kB / 1.635 GB, free: 100.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002593/2.299, allocations: 336.6 kB / 1.635 GB, free: 99.92 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005796/2.3, allocations: 316.1 kB / 1.635 GB, free: 99.59 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 3.727e-06/2.3, allocations: 4 kB / 1.635 GB, free: 99.59 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.00215/2.302, allocations: 0.9587 MB / 1.636 GB, free: 98.58 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/2.302, allocations: 81.11 kB / 1.636 GB, free: 98.48 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000527/2.303, allocations: 430.2 kB / 1.637 GB, free: 98.05 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.222e-05/2.303, allocations: 33.7 kB / 1.637 GB, free: 98.01 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/2.303, allocations: 280.4 kB / 1.637 GB, free: 97.73 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.972e-05/2.303, allocations: 106.5 kB / 1.637 GB, free: 97.63 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.99e-05/2.303, allocations: 8 kB / 1.637 GB, free: 97.62 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.911e-05/2.303, allocations: 362.8 kB / 1.637 GB, free: 97.26 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004029/2.304, allocations: 175.9 kB / 1.638 GB, free: 97.09 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004391/2.304, allocations: 289.8 kB / 1.638 GB, free: 96.77 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/2.305, allocations: 229.5 kB / 1.638 GB, free: 96.54 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/2.305, allocations: 0 / 1.638 GB, free: 96.54 MB / 0.9323 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001254/2.306, allocations: 0.6434 MB / 1.639 GB, free: 95.88 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001603/2.306, allocations: 0.6482 MB / 1.639 GB, free: 95.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/2.306, allocations: 4 kB / 1.639 GB, free: 95.17 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002253/2.306, allocations: 52.83 kB / 1.639 GB, free: 95.12 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/2.307, allocations: 79.89 kB / 1.64 GB, free: 95.04 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003622/2.307, allocations: 0.5952 MB / 1.64 GB, free: 94.42 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006808/2.308, allocations: 83.72 kB / 1.64 GB, free: 94.34 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.255e-05/2.308, allocations: 19.94 kB / 1.64 GB, free: 94.32 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/2.308, allocations: 4 kB / 1.64 GB, free: 94.31 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001123/2.309, allocations: 0.5763 MB / 1.641 GB, free: 93.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/2.309, allocations: 0 / 1.641 GB, free: 93.73 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/2.309, allocations: 60.97 kB / 1.641 GB, free: 93.66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/2.31, allocations: 75.89 kB / 1.641 GB, free: 93.59 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/2.311, allocations: 1.642 MB / 1.642 GB, free: 91.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006318/2.311, allocations: 83.69 kB / 1.643 GB, free: 91.71 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/2.311, allocations: 19.98 kB / 1.643 GB, free: 91.7 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.0003961/2.312, allocations: 298.7 kB / 1.643 GB, free: 91.39 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/2.312, allocations: 55.34 kB / 1.643 GB, free: 91.33 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/2.313, allocations: 0.6687 MB / 1.644 GB, free: 90.64 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/2.313, allocations: 4 kB / 1.644 GB, free: 90.64 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/2.313, allocations: 128 / 1.644 GB, free: 90.64 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001102/2.315, allocations: 0.8219 MB / 1.644 GB, free: 89.74 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/2.317, allocations: 1.327 MB / 1.646 GB, free: 88.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/2.317, allocations: 3.938 kB / 1.646 GB, free: 88.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/2.317, allocations: 75.97 kB / 1.646 GB, free: 88.26 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000131/2.317, allocations: 48.83 kB / 1.646 GB, free: 88.21 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/2.317, allocations: 11.98 kB / 1.646 GB, free: 88.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002519/2.317, allocations: 0.5835 MB / 1.646 GB, free: 87.59 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/2.318, allocations: 0 / 1.646 GB, free: 87.59 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/2.319, allocations: 1.043 MB / 1.647 GB, free: 86.49 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/2.319, allocations: 192.2 kB / 1.648 GB, free: 86.29 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.889e-05/2.32, allocations: 12.06 kB / 1.648 GB, free: 86.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005471/2.32, allocations: 63.89 kB / 1.648 GB, free: 86.21 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/2.32, allocations: 23.97 kB / 1.648 GB, free: 86.19 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/2.32, allocations: 23.98 kB / 1.648 GB, free: 86.16 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003473/2.321, allocations: 338.8 kB / 1.648 GB, free: 85.84 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/2.321, allocations: 0 / 1.648 GB, free: 85.84 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001385/2.322, allocations: 383.5 kB / 1.648 GB, free: 85.46 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.00254/2.324, allocations: 2.059 MB / 1.65 GB, free: 83.36 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001842/2.326, allocations: 0.9985 MB / 1.651 GB, free: 82.32 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/2.326, allocations: 0 / 1.651 GB, free: 82.32 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005155/2.327, allocations: 322 kB / 1.652 GB, free: 82 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/2.328, allocations: 238.6 kB / 1.652 GB, free: 81.77 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/2.333, allocations: 4.341 MB / 1.656 GB, free: 77.33 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/2.334, allocations: 0.894 MB / 1.657 GB, free: 76.41 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005742/2.334, allocations: 124.3 kB / 1.657 GB, free: 76.29 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/2.335, allocations: 195.4 kB / 1.657 GB, free: 76.09 MB / 0.9323 GB Notification: Performance of SimCode: time 7.81e-07/2.335, allocations: 0 / 1.657 GB, free: 76.09 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03417/2.369, allocations: 17.84 MB / 1.675 GB, free: 58.47 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/2.369, allocations: 250.4 kB / 1.675 GB, free: 58.14 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.702/5.071, allocations: 0 / 1.675 GB, free: 58.14 MB / 0.9323 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)