Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, 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.00134/0.00134, allocations: 194.5 kB / 16.26 MB, free: 6.629 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.506/1.506, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003209/0.003209, allocations: 295 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.103/1.103, allocations: 178.6 MB / 0.507 GB, free: 4.695 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 97.09 kB / 0.6059 GB, free: 25.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.177, allocations: 89.15 MB / 0.693 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5416/0.7186, allocations: 188 MB / 0.8765 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009918/0.7285, allocations: 5.672 MB / 0.8821 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001642/0.7302, allocations: 35.47 kB / 0.8821 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.7319, allocations: 0.5089 MB / 0.8826 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005049/0.737, allocations: 1.725 MB / 0.8843 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003393/0.7404, allocations: 1.09 MB / 0.8854 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004626/0.745, allocations: 2.95 MB / 0.8882 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/0.7469, allocations: 1.092 MB / 0.8893 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00231/0.7492, allocations: 1.058 MB / 0.8903 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002628/0.7519, allocations: 1.032 MB / 0.8913 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002361/0.7521, allocations: 124 kB / 0.8915 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003447/0.7556, allocations: 1.52 MB / 0.893 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007903/0.7564, allocations: 0.5767 MB / 0.8935 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.7574, allocations: 0.7273 MB / 0.8942 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004424/0.7618, allocations: 2.411 MB / 0.8966 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.199e-05/0.7619, allocations: 4 kB / 0.8966 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7619, allocations: 0 / 0.8966 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.092e-05/0.7619, allocations: 4 kB / 0.8966 GB, free: 11.47 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003041/0.7649, allocations: 1.613 MB / 0.8982 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.765, allocations: 8.031 kB / 0.8982 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.767, allocations: 334.2 kB / 0.8985 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.7686, allocations: 0.8706 MB / 0.8993 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.109e-05/0.7687, allocations: 74 kB / 0.8994 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/0.7689, allocations: 99.94 kB / 0.8995 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.771, allocations: 1.093 MB / 0.9006 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.7711, allocations: 0 / 0.9006 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.7712, allocations: 44 kB / 0.9006 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-05/0.7713, allocations: 45.98 kB / 0.9007 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.773, allocations: 0.9876 MB / 0.9016 GB, free: 6.203 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.006573/0.7796, allocations: 4.244 MB / 0.9058 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009717/0.7806, allocations: 0.5908 MB / 0.9063 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000537/0.7811, allocations: 350.4 kB / 0.9067 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002172/0.7813, allocations: 109.5 kB / 0.9068 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.7814, allocations: 39 kB / 0.9068 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 2.675e-06/0.7814, allocations: 3.938 kB / 0.9068 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55): time 0.004401/0.7858, allocations: 2.205 MB / 0.909 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.7859, allocations: 59.91 kB / 0.909 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.7871, allocations: 0.8842 MB / 0.9099 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.7871, allocations: 41.7 kB / 0.9099 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004552/0.7876, allocations: 0.5146 MB / 0.9104 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.7878, allocations: 185.3 kB / 0.9106 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.788, allocations: 134.5 kB / 0.9107 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.7882, allocations: 338 kB / 0.9111 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005207/0.7888, allocations: 289.8 kB / 0.9113 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000651/0.7894, allocations: 434.9 kB / 0.9118 GB, free: 11.28 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.004133/0.7936, allocations: 1.754 MB / 0.9135 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7936, allocations: 4 kB / 0.9135 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001685/0.7953, allocations: 0.9223 MB / 0.9144 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.7953, allocations: 8 kB / 0.9144 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.7953, allocations: 4 kB / 0.9144 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002291/0.7956, allocations: 98.45 kB / 0.9145 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007088/0.7963, allocations: 167.7 kB / 0.9146 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004169/0.8005, allocations: 4.634 MB / 0.9192 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.8015, allocations: 69.23 kB / 0.9192 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.934e-05/0.8016, allocations: 24 kB / 0.9193 GB, free: 3.094 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005951/0.8022, allocations: 354.3 kB / 0.9196 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.8024, allocations: 106.8 kB / 0.9197 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.8026, allocations: 109.2 kB / 0.9198 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.8026, allocations: 4 kB / 0.9198 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8027, allocations: 0 / 0.9198 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001166/0.8038, allocations: 0.7653 MB / 0.9205 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/0.8072, allocations: 1.976 MB / 0.9225 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.8072, allocations: 4 kB / 0.9225 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006807/0.8079, allocations: 145.1 kB / 0.9226 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/0.808, allocations: 48.83 kB / 0.9227 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.8081, allocations: 16 kB / 0.9227 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.8096, allocations: 1.61 MB / 0.9243 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.8096, allocations: 4 kB / 0.9243 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.8115, allocations: 1.214 MB / 0.9254 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004839/0.812, allocations: 251.9 kB / 0.9257 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.8121, allocations: 19.94 kB / 0.9257 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008305/0.813, allocations: 75.28 kB / 0.9258 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.8131, allocations: 43.94 kB / 0.9258 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-05/0.8132, allocations: 35.92 kB / 0.9259 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008864/0.8141, allocations: 0.6161 MB / 0.9265 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8141, allocations: 3.938 kB / 0.9265 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009906/0.8151, allocations: 304 kB / 0.9267 GB, free: 11.04 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004738/0.8156, allocations: 193.3 kB / 0.9269 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001905/0.8175, allocations: 1.105 MB / 0.928 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.8175, allocations: 3.906 kB / 0.928 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007087/0.8182, allocations: 455.9 kB / 0.9284 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/0.8209, allocations: 0.6581 MB / 0.9291 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003989/0.8249, allocations: 2.52 MB / 0.9316 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009643/0.8259, allocations: 1.166 MB / 0.9327 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001203/0.8271, allocations: 248.3 kB / 0.9329 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.8274, allocations: 83.42 kB / 0.933 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of SimCode: time 5.21e-07/0.8274, allocations: 0 / 0.933 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of Templates: time 0.04234/0.8697, allocations: 22.08 MB / 0.9546 GB, free: 14.79 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)