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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 193.1 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.081/1.081, allocations: 205.1 MB / 222.1 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.465/1.465, allocations: 292.3 MB / 0.5486 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 70 kB / 0.6711 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1602, allocations: 114.5 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4679/0.6281, allocations: 187.8 MB / 0.9664 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006932/0.6351, allocations: 5.592 MB / 0.9719 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008394/0.636, allocations: 35.22 kB / 0.9719 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.6372, allocations: 0.5014 MB / 0.9724 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00291/0.6401, allocations: 1.504 MB / 0.9739 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002405/0.6426, allocations: 1.09 MB / 0.9749 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002192/0.6448, allocations: 2.473 MB / 0.9773 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009407/0.6457, allocations: 0.9647 MB / 0.9783 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.647, allocations: 1.031 MB / 0.9793 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.6483, allocations: 0.8728 MB / 0.9801 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.6485, allocations: 107.2 kB / 0.9802 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.6507, allocations: 1.586 MB / 0.9818 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003619/0.6511, allocations: 0.4896 MB / 0.9823 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005198/0.6516, allocations: 0.6266 MB / 0.9829 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001968/0.6536, allocations: 2.183 MB / 0.985 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6536, allocations: 5 kB / 0.985 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6536, allocations: 0 / 0.985 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.6536, allocations: 0 / 0.985 GB, free: 4.609 MB / 0.7325 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.002055/0.6557, allocations: 1.471 MB / 0.9865 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.6557, allocations: 9.344 kB / 0.9865 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001446/0.6559, allocations: 140 kB / 0.9866 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/0.6576, allocations: 329.5 kB / 0.9869 GB, free: 19.72 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009841/0.6586, allocations: 0.7634 MB / 0.9877 GB, free: 19.41 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003038/0.659, allocations: 120.7 kB / 0.9878 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.6591, allocations: 96.56 kB / 0.9879 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.6607, allocations: 1.06 MB / 0.9889 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.6607, allocations: 0 / 0.9889 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.281e-05/0.6608, allocations: 40.23 kB / 0.9889 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-05/0.6608, allocations: 39.34 kB / 0.989 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.6621, allocations: 0.8404 MB / 0.9898 GB, free: 19.08 MB / 0.7481 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.004557/0.6667, allocations: 4.036 MB / 0.9937 GB, free: 16.4 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000437/0.6671, allocations: 382.1 kB / 0.9941 GB, free: 16.25 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.6674, allocations: 214.2 kB / 0.9943 GB, free: 16.17 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/0.6675, allocations: 102.2 kB / 0.9944 GB, free: 16.07 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.6676, allocations: 40.09 kB / 0.9944 GB, free: 16.03 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=36): time 1.433e-06/0.6676, allocations: 0 / 0.9944 GB, free: 16.03 MB / 0.7481 GB Notification: Performance of matching and sorting (n=38): time 0.00204/0.6696, allocations: 1.33 MB / 0.9957 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.6697, allocations: 57.72 kB / 0.9958 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009956/0.6707, allocations: 0.9843 MB / 0.9968 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.6707, allocations: 31.64 kB / 0.9968 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.671, allocations: 497.7 kB / 0.9973 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.99e-05/0.6711, allocations: 140.6 kB / 0.9974 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.6712, allocations: 117.5 kB / 0.9975 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.6714, allocations: 334.2 kB / 0.9978 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003963/0.6718, allocations: 233.5 kB / 0.998 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004542/0.6722, allocations: 416.6 kB / 0.9984 GB, free: 13.55 MB / 0.7481 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.001994/0.6742, allocations: 1.186 MB / 0.9996 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6742, allocations: 0 / 0.9996 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001236/0.6755, allocations: 0.7492 MB / 1 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.6755, allocations: 9.344 kB / 1 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.6755, allocations: 12.14 kB / 1 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.6755, allocations: 8.688 kB / 1 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/0.6761, allocations: 139.8 kB / 1 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.6761, allocations: 12.81 kB / 1.001 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008651/0.6769, allocations: 79.88 kB / 1.001 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.673e-05/0.677, allocations: 27.89 kB / 1.001 GB, free: 12.64 MB / 0.7481 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003889/0.6774, allocations: 317.7 kB / 1.001 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.6775, allocations: 97.66 kB / 1.001 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.6777, allocations: 105.1 kB / 1.001 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.6777, allocations: 5.344 kB / 1.001 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6777, allocations: 0 / 1.001 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005902/0.6783, allocations: 0.6764 MB / 1.002 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.6803, allocations: 1.591 MB / 1.003 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.6803, allocations: 3.406 kB / 1.003 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003608/0.6807, allocations: 84.08 kB / 1.003 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/0.6807, allocations: 10.61 kB / 1.003 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.6808, allocations: 21.5 kB / 1.003 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.6808, allocations: 10.16 kB / 1.003 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6808, allocations: 5.938 kB / 1.003 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009963/0.6818, allocations: 0.8392 MB / 1.004 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.6821, allocations: 242.8 kB / 1.005 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.6822, allocations: 17.89 kB / 1.005 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006759/0.6829, allocations: 50.17 kB / 1.005 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.683, allocations: 35.64 kB / 1.005 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.503e-05/0.683, allocations: 29.77 kB / 1.005 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008391/0.6839, allocations: 0.7005 MB / 1.005 GB, free: 9.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7.41e-07/0.6839, allocations: 0 / 1.005 GB, free: 9.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006814/0.6846, allocations: 258.7 kB / 1.006 GB, free: 9.887 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001489/0.6861, allocations: 1.496 MB / 1.007 GB, free: 8.805 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008177/0.6869, allocations: 0.5327 MB / 1.008 GB, free: 8.656 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6869, allocations: 5.062 kB / 1.008 GB, free: 8.656 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002828/0.6872, allocations: 188.2 kB / 1.008 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/0.6896, allocations: 0.615 MB / 1.008 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.7002, allocations: 8.17 MB / 1.016 GB, free: 3.406 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007327/0.7009, allocations: 1.099 MB / 1.017 GB, free: 2.516 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008892/0.7018, allocations: 241.7 kB / 1.018 GB, free: 2.406 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000475/0.7023, allocations: 340.7 kB / 1.018 GB, free: 2.133 MB / 0.7481 GB Notification: Performance of SimCode: time 9.01e-07/0.7023, allocations: 0 / 1.018 GB, free: 2.133 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.596/2.299, allocations: 27.27 MB / 1.045 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003502/2.299, allocations: 261 kB / 1.045 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/4.897, allocations: 0 / 1.045 GB, free: 13.26 MB / 0.7794 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/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)