Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.248/2.248, allocations: 390.3 MB / 402.8 MB, free: 6.699 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 172.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 221.3 MB / 0.7915 GB, free: 5.484 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009586/0.0009587, allocations: 87.95 kB / 0.9317 GB, free: 5.809 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.296e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2538, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.273/5.527, allocations: 1.931 GB / 3.15 GB, free: 382.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000377/5.528, allocations: 87.95 kB / 3.15 GB, free: 382.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.097/7.624, allocations: 0.6002 GB / 3.75 GB, free: 224.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.665e-06/7.624, allocations: 7.391 kB / 3.75 GB, free: 224.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001179/7.624, allocations: 20 kB / 3.751 GB, free: 224.2 MB / 1.167 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.003328/7.628, allocations: 1.146 MB / 3.752 GB, free: 223 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/7.628, allocations: 8.031 kB / 3.752 GB, free: 223 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003537/7.628, allocations: 126.5 kB / 3.752 GB, free: 222.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/7.63, allocations: 202.7 kB / 3.752 GB, free: 222.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/7.632, allocations: 0.664 MB / 3.753 GB, free: 222 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.12e-05/7.632, allocations: 61.98 kB / 3.753 GB, free: 221.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/7.632, allocations: 83.17 kB / 3.753 GB, free: 221.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/7.633, allocations: 0.8899 MB / 3.754 GB, free: 220.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/7.634, allocations: 7.938 kB / 3.754 GB, free: 220.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.921e-05/7.634, allocations: 28 kB / 3.754 GB, free: 220.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-05/7.634, allocations: 29.3 kB / 3.754 GB, free: 220.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008594/7.635, allocations: 0.5789 MB / 3.754 GB, free: 220.2 MB / 1.167 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.003994/7.639, allocations: 4.566 MB / 3.759 GB, free: 215.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006291/7.639, allocations: 444.2 kB / 3.759 GB, free: 214.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/7.639, allocations: 229 kB / 3.759 GB, free: 214.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002017/7.64, allocations: 109.1 kB / 3.759 GB, free: 214.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/7.64, allocations: 38.52 kB / 3.759 GB, free: 214.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=43): time 1.954e-06/7.64, allocations: 0 / 3.759 GB, free: 214.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=45): time 0.002329/7.642, allocations: 1.414 MB / 3.761 GB, free: 213 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/7.642, allocations: 110.9 kB / 3.761 GB, free: 212.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006577/7.643, allocations: 0.6172 MB / 3.762 GB, free: 212.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/7.643, allocations: 37.7 kB / 3.762 GB, free: 212.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/7.643, allocations: 419.8 kB / 3.762 GB, free: 211.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/7.643, allocations: 168.9 kB / 3.762 GB, free: 211.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/7.643, allocations: 16 kB / 3.762 GB, free: 211.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.58e-05/7.643, allocations: 326 kB / 3.762 GB, free: 211.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/7.644, allocations: 177.5 kB / 3.763 GB, free: 211.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/7.644, allocations: 412.9 kB / 3.763 GB, free: 210.6 MB / 1.167 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.001464/7.645, allocations: 0.6649 MB / 3.764 GB, free: 209.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/7.645, allocations: 0 / 3.764 GB, free: 209.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008272/7.646, allocations: 0.6578 MB / 3.764 GB, free: 209.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/7.646, allocations: 15.89 kB / 3.764 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/7.646, allocations: 8 kB / 3.764 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-05/7.646, allocations: 8 kB / 3.764 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/7.647, allocations: 127.8 kB / 3.764 GB, free: 209.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/7.647, allocations: 11.94 kB / 3.765 GB, free: 209.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005579/7.647, allocations: 59.86 kB / 3.765 GB, free: 209.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/7.647, allocations: 32 kB / 3.765 GB, free: 209 MB / 1.167 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.0001294/7.648, allocations: 140.8 kB / 3.765 GB, free: 208.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/7.648, allocations: 79.06 kB / 3.765 GB, free: 208.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/7.648, allocations: 95.39 kB / 3.765 GB, free: 208.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/7.648, allocations: 12 kB / 3.765 GB, free: 208.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/7.648, allocations: 0 / 3.765 GB, free: 208.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005966/7.648, allocations: 0.687 MB / 3.766 GB, free: 207.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/7.65, allocations: 1.595 MB / 3.767 GB, free: 206.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/7.65, allocations: 4 kB / 3.767 GB, free: 206.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000397/7.651, allocations: 107.9 kB / 3.767 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/7.651, allocations: 4 kB / 3.767 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/7.651, allocations: 19.98 kB / 3.767 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/7.651, allocations: 4 kB / 3.767 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/7.651, allocations: 16.33 kB / 3.767 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009262/7.652, allocations: 1.011 MB / 3.768 GB, free: 204.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/7.652, allocations: 200.1 kB / 3.768 GB, free: 204.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.974e-05/7.652, allocations: 23.98 kB / 3.768 GB, free: 204.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004554/7.653, allocations: 43.77 kB / 3.769 GB, free: 204.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/7.653, allocations: 43.84 kB / 3.769 GB, free: 204.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/7.653, allocations: 20 kB / 3.769 GB, free: 204.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000473/7.653, allocations: 0.4913 MB / 3.769 GB, free: 204.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.71e-07/7.653, allocations: 0 / 3.769 GB, free: 204.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001267/7.655, allocations: 368 kB / 3.769 GB, free: 203.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,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.00337/7.658, allocations: 4.159 MB / 3.773 GB, free: 199.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0006599/7.659, allocations: 456.7 kB / 3.774 GB, free: 198.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/7.659, allocations: 0 / 3.774 GB, free: 198.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002239/7.659, allocations: 208.7 kB / 3.774 GB, free: 198.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/7.661, allocations: 451.7 kB / 3.775 GB, free: 198.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/7.663, allocations: 1.532 MB / 3.776 GB, free: 196.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/7.663, allocations: 1.04 MB / 3.777 GB, free: 195.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005603/7.664, allocations: 194.9 kB / 3.777 GB, free: 195.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/7.664, allocations: 303.3 kB / 3.778 GB, free: 195.1 MB / 1.167 GB Notification: Performance of SimCode: time 6.11e-07/7.664, allocations: 0 / 3.778 GB, free: 195.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07082/7.735, allocations: 51.26 MB / 3.828 GB, free: 144.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/7.735, allocations: 224 kB / 3.828 GB, free: 143.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.141/11.88, allocations: 0 / 3.828 GB, free: 143.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat does not exist to compare? outputFormat=mat