Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001467/0.001467, allocations: 193.1 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00262/0.00262, allocations: 294.9 kB / 290.2 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.128/1.128, allocations: 178.6 MB / 0.5068 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002857/0.002857, allocations: 100.6 kB / 0.6057 GB, free: 25.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1727, allocations: 89.15 MB / 0.6928 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5318/0.7046, allocations: 188.1 MB / 0.8765 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009678/0.7143, allocations: 5.755 MB / 0.8821 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.7156, allocations: 38.66 kB / 0.8821 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.7172, allocations: 0.4898 MB / 0.8826 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004091/0.7213, allocations: 1.519 MB / 0.8841 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003051/0.7244, allocations: 1.084 MB / 0.8851 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003871/0.7283, allocations: 3.483 MB / 0.8885 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.7295, allocations: 0.8526 MB / 0.8894 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.7312, allocations: 0.8869 MB / 0.8902 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/0.733, allocations: 0.8602 MB / 0.8911 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.7331, allocations: 52 kB / 0.8911 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003261/0.7364, allocations: 1.703 MB / 0.8928 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005284/0.7369, allocations: 454.7 kB / 0.8932 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007265/0.7377, allocations: 0.5753 MB / 0.8938 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00298/0.7407, allocations: 2.135 MB / 0.8959 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.7407, allocations: 0 / 0.8959 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of FrontEnd: time 8.42e-07/0.7407, allocations: 0 / 0.8959 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.7407, allocations: 0 / 0.8959 GB, free: 12.16 MB / 0.6231 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.002564/0.7433, allocations: 1.481 MB / 0.8973 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.7433, allocations: 12.03 kB / 0.8973 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002095/0.7454, allocations: 326.3 kB / 0.8976 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.7467, allocations: 0.7726 MB / 0.8984 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003901/0.7471, allocations: 117.9 kB / 0.8985 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.7473, allocations: 87.91 kB / 0.8986 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.7492, allocations: 1.076 MB / 0.8996 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.7492, allocations: 0 / 0.8996 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.894e-05/0.7493, allocations: 43.98 kB / 0.8997 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.985e-05/0.7494, allocations: 30 kB / 0.8997 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.7511, allocations: 0.8353 MB / 0.9005 GB, free: 7.258 MB / 0.6231 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.005957/0.7571, allocations: 4.058 MB / 0.9045 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006486/0.7577, allocations: 359.5 kB / 0.9048 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/0.7581, allocations: 217.3 kB / 0.905 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/0.7583, allocations: 109 kB / 0.9051 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/0.7584, allocations: 46.36 kB / 0.9052 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=36): time 2.014e-06/0.7584, allocations: 0 / 0.9052 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of matching and sorting (n=38): time 0.002722/0.7611, allocations: 1.328 MB / 0.9065 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.7612, allocations: 55.41 kB / 0.9065 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.7627, allocations: 0.9882 MB / 0.9075 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/0.7627, allocations: 41.7 kB / 0.9075 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004115/0.7631, allocations: 491.3 kB / 0.908 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.7633, allocations: 142 kB / 0.9081 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.7635, allocations: 118.1 kB / 0.9083 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002199/0.7637, allocations: 330 kB / 0.9086 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005302/0.7643, allocations: 233.2 kB / 0.9088 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006764/0.765, allocations: 409.2 kB / 0.9092 GB, free: 13.91 MB / 0.6387 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.002697/0.7677, allocations: 1.19 MB / 0.9103 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.7677, allocations: 4 kB / 0.9103 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001491/0.7692, allocations: 0.7458 MB / 0.9111 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.7692, allocations: 11.94 kB / 0.9111 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.7692, allocations: 4 kB / 0.9111 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.7693, allocations: 8.25 kB / 0.9111 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005966/0.7699, allocations: 147.8 kB / 0.9112 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.7699, allocations: 11.94 kB / 0.9113 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.7709, allocations: 91.77 kB / 0.9113 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.771, allocations: 28 kB / 0.9114 GB, free: 11.58 MB / 0.6387 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.0004649/0.7714, allocations: 305.5 kB / 0.9117 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.7716, allocations: 102.8 kB / 0.9118 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.7718, allocations: 105 kB / 0.9119 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.7718, allocations: 4 kB / 0.9119 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.7718, allocations: 4 kB / 0.9119 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007961/0.7726, allocations: 0.6755 MB / 0.9125 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.7752, allocations: 1.588 MB / 0.9141 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.7753, allocations: 8.094 kB / 0.9141 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/0.7757, allocations: 87.83 kB / 0.9142 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.7757, allocations: 8 kB / 0.9142 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.7757, allocations: 15.94 kB / 0.9142 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.7757, allocations: 7.984 kB / 0.9142 GB, free: 8.477 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/0.7758, allocations: 7.938 kB / 0.9142 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.7769, allocations: 0.8256 MB / 0.915 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003788/0.7773, allocations: 239.9 kB / 0.9152 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.7774, allocations: 11.98 kB / 0.9152 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007507/0.7782, allocations: 59.81 kB / 0.9153 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.7783, allocations: 35.84 kB / 0.9153 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-05/0.7783, allocations: 27.98 kB / 0.9154 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001118/0.7795, allocations: 0.7112 MB / 0.9161 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7795, allocations: 0 / 0.9161 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008457/0.7803, allocations: 256 kB / 0.9163 GB, free: 6.219 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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.0004707/0.7808, allocations: 215.3 kB / 0.9165 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.7818, allocations: 499.3 kB / 0.917 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.7819, allocations: 0 / 0.917 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002948/0.7822, allocations: 193.4 kB / 0.9172 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/0.7849, allocations: 0.597 MB / 0.9178 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.7881, allocations: 2.167 MB / 0.9199 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008116/0.7889, allocations: 1.106 MB / 0.921 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000963/0.7899, allocations: 236.2 kB / 0.9212 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.7901, allocations: 79.42 kB / 0.9213 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of SimCode: time 5.71e-07/0.7901, allocations: 0 / 0.9213 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of Templates: time 0.03452/0.8247, allocations: 18.98 MB / 0.9398 GB, free: 14.38 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)