Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.791/1.791, allocations: 292.6 MB / 307.5 MB, free: 5.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.001211/0.001212, allocations: 183.9 kB / 377.1 MB, free: 1.508 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.705/1.705, allocations: 205.4 MB / 0.6366 GB, free: 8.609 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.0009887/0.0009886, allocations: 95.48 kB / 0.7509 GB, free: 62.88 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.000366, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2877, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.696/5.984, allocations: 2.075 GB / 3.064 GB, free: 106.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003509/5.985, allocations: 93.02 kB / 3.064 GB, free: 106.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.79/8.775, allocations: 0.5649 GB / 3.629 GB, free: 169.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.994e-06/8.775, allocations: 3.656 kB / 3.629 GB, free: 169.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002093/8.775, allocations: 26.8 kB / 3.629 GB, free: 169.8 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.006283/8.781, allocations: 1.381 MB / 3.63 GB, free: 169.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.068e-05/8.781, allocations: 8.172 kB / 3.63 GB, free: 169.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007525/8.782, allocations: 140 kB / 3.63 GB, free: 169.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002985/8.785, allocations: 325.3 kB / 3.631 GB, free: 169 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003146/8.788, allocations: 0.78 MB / 3.631 GB, free: 168.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000526/8.789, allocations: 134.8 kB / 3.632 GB, free: 168.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004314/8.789, allocations: 85.84 kB / 3.632 GB, free: 168.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003702/8.793, allocations: 1.038 MB / 3.633 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.216e-05/8.793, allocations: 4.625 kB / 3.633 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001988/8.793, allocations: 35.69 kB / 3.633 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.131e-05/8.793, allocations: 35.77 kB / 3.633 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/8.796, allocations: 0.8141 MB / 3.634 GB, free: 168.6 MB / 0.948 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.01001/8.806, allocations: 4.035 MB / 3.637 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007485/8.807, allocations: 379.6 kB / 3.638 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/8.807, allocations: 100.6 kB / 3.638 GB, free: 166.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.317e-05/8.807, allocations: 39.06 kB / 3.638 GB, free: 166.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 5.08e-06/8.807, allocations: 3.062 kB / 3.638 GB, free: 166.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=38): time 0.004144/8.811, allocations: 1.302 MB / 3.639 GB, free: 166.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/8.811, allocations: 60.33 kB / 3.639 GB, free: 166 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002299/8.814, allocations: 0.8739 MB / 3.64 GB, free: 165.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/8.814, allocations: 39.58 kB / 3.64 GB, free: 165.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005574/8.814, allocations: 495.2 kB / 3.641 GB, free: 165.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/8.815, allocations: 136.2 kB / 3.641 GB, free: 165.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/8.815, allocations: 12.19 kB / 3.641 GB, free: 165.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001288/8.815, allocations: 327.1 kB / 3.641 GB, free: 165.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006198/8.815, allocations: 240.8 kB / 3.641 GB, free: 165.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007575/8.816, allocations: 414.1 kB / 3.642 GB, free: 165.1 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002445/8.819, allocations: 0.728 MB / 3.642 GB, free: 165 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/8.819, allocations: 1.938 kB / 3.642 GB, free: 165 MB / 0.948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00214/8.821, allocations: 0.758 MB / 3.643 GB, free: 164.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/8.821, allocations: 8.719 kB / 3.643 GB, free: 164.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/8.821, allocations: 4.969 kB / 3.643 GB, free: 164.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.663e-05/8.821, allocations: 8.719 kB / 3.643 GB, free: 164.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007002/8.822, allocations: 141.8 kB / 3.643 GB, free: 164.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.242e-05/8.822, allocations: 9.562 kB / 3.643 GB, free: 164.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/8.823, allocations: 104.2 kB / 3.643 GB, free: 164.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/8.823, allocations: 23.67 kB / 3.643 GB, free: 164.9 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0009656/8.824, allocations: 316.4 kB / 3.644 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003646/8.825, allocations: 103.9 kB / 3.644 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003696/8.825, allocations: 105 kB / 3.644 GB, free: 164.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/8.825, allocations: 4.219 kB / 3.644 GB, free: 164.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/8.825, allocations: 0.6562 kB / 3.644 GB, free: 164.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007989/8.826, allocations: 0.6686 MB / 3.645 GB, free: 164.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004028/8.83, allocations: 1.578 MB / 3.646 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/8.83, allocations: 4.875 kB / 3.646 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004885/8.831, allocations: 82.39 kB / 3.646 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.746e-05/8.831, allocations: 10.5 kB / 3.646 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.553e-05/8.831, allocations: 12.75 kB / 3.646 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.21e-05/8.831, allocations: 9.094 kB / 3.646 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/8.831, allocations: 4.219 kB / 3.646 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/8.832, allocations: 1.047 MB / 3.647 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008092/8.833, allocations: 243.3 kB / 3.648 GB, free: 163.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003588/8.834, allocations: 16.62 kB / 3.648 GB, free: 163.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/8.835, allocations: 55.28 kB / 3.648 GB, free: 163.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/8.835, allocations: 44.23 kB / 3.648 GB, free: 163.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.03e-05/8.835, allocations: 26.84 kB / 3.648 GB, free: 163.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001612/8.837, allocations: 0.6987 MB / 3.648 GB, free: 163 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.31e-07/8.837, allocations: 0 / 3.648 GB, free: 163 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002501/8.839, allocations: 373.5 kB / 3.649 GB, free: 163 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.005075/8.844, allocations: 3.909 MB / 3.653 GB, free: 160.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001324/8.846, allocations: 487.7 kB / 3.653 GB, free: 160.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/8.846, allocations: 2.719 kB / 3.653 GB, free: 160.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003364/8.846, allocations: 185.8 kB / 3.653 GB, free: 160.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003411/8.849, allocations: 0.5833 MB / 3.654 GB, free: 160.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/8.867, allocations: 8.895 MB / 3.662 GB, free: 155.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/8.869, allocations: 1.112 MB / 3.664 GB, free: 154.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001644/8.87, allocations: 250.9 kB / 3.664 GB, free: 154.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007952/8.871, allocations: 342.4 kB / 3.664 GB, free: 154.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.204e-06/8.871, allocations: 3.031 kB / 3.664 GB, free: 154.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/8.977, allocations: 47.31 MB / 3.71 GB, free: 152.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/8.978, allocations: 235 kB / 3.711 GB, free: 151.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.969/12.95, allocations: 0 / 3.711 GB, free: 151.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)