Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.663/1.663, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001414/0.001414, allocations: 183.2 kB / 371.6 MB, free: 3.387 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.925/1.925, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001092/0.001092, allocations: 95.62 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.741e-05/3.743e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3087, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.22/6.529, allocations: 2.086 GB / 3.066 GB, free: 110.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/6.529, allocations: 88.67 kB / 3.066 GB, free: 110.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.602/9.131, allocations: 0.5877 GB / 3.654 GB, free: 164.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.122e-06/9.131, allocations: 0 / 3.654 GB, free: 164.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.942e-05/9.131, allocations: 25.73 kB / 3.654 GB, free: 164.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00215/9.133, allocations: 1.129 MB / 3.655 GB, free: 164.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/9.133, allocations: 9.656 kB / 3.655 GB, free: 164.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001408/9.133, allocations: 124.8 kB / 3.655 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/9.135, allocations: 209.6 kB / 3.655 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/9.136, allocations: 0.6567 MB / 3.656 GB, free: 163.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-05/9.136, allocations: 60.66 kB / 3.656 GB, free: 163.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/9.136, allocations: 85.17 kB / 3.656 GB, free: 163.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/9.137, allocations: 0.8896 MB / 3.657 GB, free: 163.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/9.137, allocations: 4.719 kB / 3.657 GB, free: 163.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.731e-05/9.137, allocations: 34.95 kB / 3.657 GB, free: 163.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-05/9.137, allocations: 26.84 kB / 3.657 GB, free: 163.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009606/9.138, allocations: 0.5793 MB / 3.658 GB, free: 163.5 MB / 0.948 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.003758/9.142, allocations: 4.56 MB / 3.662 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005932/9.143, allocations: 439.4 kB / 3.662 GB, free: 160.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/9.143, allocations: 228.2 kB / 3.663 GB, free: 160.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/9.143, allocations: 103.7 kB / 3.663 GB, free: 160.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/9.143, allocations: 40.03 kB / 3.663 GB, free: 160.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 2.955e-06/9.143, allocations: 0.625 kB / 3.663 GB, free: 160.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=45): time 0.002623/9.146, allocations: 1.397 MB / 3.664 GB, free: 159.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/9.146, allocations: 110.7 kB / 3.664 GB, free: 159.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007676/9.147, allocations: 0.613 MB / 3.665 GB, free: 159.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/9.147, allocations: 40.11 kB / 3.665 GB, free: 159.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/9.147, allocations: 423 kB / 3.665 GB, free: 159.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/9.147, allocations: 160.2 kB / 3.665 GB, free: 159.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/9.147, allocations: 21 kB / 3.665 GB, free: 159 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001121/9.147, allocations: 386.6 kB / 3.666 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/9.148, allocations: 178.5 kB / 3.666 GB, free: 158.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/9.148, allocations: 408.7 kB / 3.666 GB, free: 158.5 MB / 0.948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/9.15, allocations: 0.6488 MB / 3.667 GB, free: 158.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/9.15, allocations: 2.062 kB / 3.667 GB, free: 158.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009703/9.151, allocations: 0.651 MB / 3.668 GB, free: 158.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/9.151, allocations: 7.312 kB / 3.668 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/9.151, allocations: 6.812 kB / 3.668 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/9.151, allocations: 10.69 kB / 3.668 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/9.151, allocations: 124.6 kB / 3.668 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/9.151, allocations: 16.75 kB / 3.668 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006711/9.152, allocations: 49.75 kB / 3.668 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.254e-05/9.152, allocations: 34.09 kB / 3.668 GB, free: 158.3 MB / 0.948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001368/9.152, allocations: 152.3 kB / 3.668 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/9.152, allocations: 82.56 kB / 3.668 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002014/9.153, allocations: 93.84 kB / 3.668 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/9.153, allocations: 5.656 kB / 3.668 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/9.153, allocations: 1.562 kB / 3.668 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006161/9.153, allocations: 0.6861 MB / 3.669 GB, free: 157.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/9.156, allocations: 1.597 MB / 3.67 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/9.156, allocations: 4.344 kB / 3.67 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000464/9.156, allocations: 110.7 kB / 3.671 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/9.156, allocations: 5.781 kB / 3.671 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/9.156, allocations: 13.47 kB / 3.671 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/9.156, allocations: 12.67 kB / 3.671 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/9.156, allocations: 3.656 kB / 3.671 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/9.157, allocations: 1.046 MB / 3.672 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003737/9.158, allocations: 201.4 kB / 3.672 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.945e-05/9.158, allocations: 14.44 kB / 3.672 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004928/9.158, allocations: 41.2 kB / 3.672 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/9.158, allocations: 39.69 kB / 3.672 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/9.158, allocations: 20.94 kB / 3.672 GB, free: 156.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006763/9.159, allocations: 0.4954 MB / 3.672 GB, free: 156.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/9.159, allocations: 0 / 3.672 GB, free: 156.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001458/9.161, allocations: 366 kB / 3.673 GB, free: 156.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004259/9.165, allocations: 4.179 MB / 3.677 GB, free: 153.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009897/9.166, allocations: 457.3 kB / 3.677 GB, free: 153.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/9.166, allocations: 1 kB / 3.677 GB, free: 153.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003135/9.166, allocations: 209.1 kB / 3.677 GB, free: 153.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/9.169, allocations: 463.6 kB / 3.678 GB, free: 153.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/9.172, allocations: 1.517 MB / 3.679 GB, free: 153.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/9.172, allocations: 1.05 MB / 3.68 GB, free: 152.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007579/9.173, allocations: 195 kB / 3.681 GB, free: 152.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/9.173, allocations: 299.7 kB / 3.681 GB, free: 152.5 MB / 0.948 GB Notification: Performance of SimCode: time 6.02e-07/9.173, allocations: 0 / 3.681 GB, free: 152.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08843/9.262, allocations: 51.16 MB / 3.731 GB, free: 149.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/9.262, allocations: 229.9 kB / 3.731 GB, free: 149.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.836/13.1, allocations: 0 / 3.731 GB, free: 149.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)