Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00226/0.00226, allocations: 189.7 kB / 16.13 MB, free: 6.637 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.516/1.516, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002527/0.002528, allocations: 293.2 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.096/1.096, allocations: 178.6 MB / 0.5068 GB, free: 4.781 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002924/0.002924, allocations: 97.52 kB / 0.6057 GB, free: 25.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1872, allocations: 89.15 MB / 0.6928 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5585/0.7458, allocations: 188.2 MB / 0.8766 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.7561, allocations: 5.775 MB / 0.8822 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.758, allocations: 35.88 kB / 0.8823 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.7597, allocations: 0.4898 MB / 0.8827 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004328/0.7641, allocations: 1.522 MB / 0.8842 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002925/0.767, allocations: 1.087 MB / 0.8853 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004334/0.7714, allocations: 3.532 MB / 0.8887 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.7729, allocations: 0.9001 MB / 0.8896 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002702/0.7756, allocations: 0.9025 MB / 0.8905 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/0.778, allocations: 0.8934 MB / 0.8914 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.7782, allocations: 56 kB / 0.8914 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003798/0.782, allocations: 1.73 MB / 0.8931 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005728/0.7826, allocations: 458.7 kB / 0.8936 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008078/0.7834, allocations: 0.587 MB / 0.8941 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003131/0.7865, allocations: 2.201 MB / 0.8963 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.7866, allocations: 0 / 0.8963 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.61e-07/0.7866, allocations: 0 / 0.8963 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.7866, allocations: 0 / 0.8963 GB, free: 11.73 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002722/0.7893, allocations: 1.524 MB / 0.8978 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.7894, allocations: 15.97 kB / 0.8978 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00324/0.7926, allocations: 470 kB / 0.8982 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.7942, allocations: 0.8124 MB / 0.899 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003779/0.7946, allocations: 121.9 kB / 0.8991 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.7948, allocations: 84 kB / 0.8992 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/0.7972, allocations: 1.19 MB / 0.9004 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.7972, allocations: 0 / 0.9004 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.7974, allocations: 40 kB / 0.9004 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.378e-05/0.7974, allocations: 37.98 kB / 0.9005 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002536/0.8, allocations: 1.073 MB / 0.9015 GB, free: 6.25 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.007579/0.8076, allocations: 4.346 MB / 0.9057 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/0.8097, allocations: 0.756 MB / 0.9065 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009835/0.8107, allocations: 400.6 kB / 0.9069 GB, free: 488 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002133/0.8109, allocations: 109.1 kB / 0.907 GB, free: 360 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.8109, allocations: 38.56 kB / 0.907 GB, free: 312 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 2.535e-06/0.8109, allocations: 0 / 0.907 GB, free: 312 kB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.006486/0.8174, allocations: 2.208 MB / 0.9092 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.8175, allocations: 67.28 kB / 0.9092 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.8189, allocations: 0.8608 MB / 0.9101 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.601e-05/0.819, allocations: 37.7 kB / 0.9101 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004654/0.8194, allocations: 499.2 kB / 0.9106 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.8196, allocations: 161.7 kB / 0.9107 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.8199, allocations: 122.2 kB / 0.9109 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.82, allocations: 330 kB / 0.9112 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009972/0.821, allocations: 373 kB / 0.9115 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.8222, allocations: 0.5091 MB / 0.912 GB, free: 11.01 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.006589/0.8288, allocations: 2.298 MB / 0.9143 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.8288, allocations: 0 / 0.9143 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002651/0.8315, allocations: 0.9899 MB / 0.9152 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.8315, allocations: 11.98 kB / 0.9152 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.8315, allocations: 6.031 kB / 0.9152 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.8315, allocations: 4 kB / 0.9152 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009956/0.8325, allocations: 199.8 kB / 0.9154 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/0.8326, allocations: 15.94 kB / 0.9155 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.8339, allocations: 95.75 kB / 0.9155 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.929e-05/0.834, allocations: 28 kB / 0.9156 GB, free: 7.301 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 (73): * Single equations (assignments): 73 * 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.0006407/0.8346, allocations: 313.5 kB / 0.9159 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/0.8349, allocations: 94.88 kB / 0.916 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.8352, allocations: 108.7 kB / 0.9161 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.8352, allocations: 11.88 kB / 0.9161 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.8352, allocations: 0 / 0.9161 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002174/0.8374, allocations: 1.034 MB / 0.9171 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005117/0.8426, allocations: 2.161 MB / 0.9192 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.8426, allocations: 4 kB / 0.9192 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009924/0.8436, allocations: 163.9 kB / 0.9194 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-05/0.8436, allocations: 8 kB / 0.9194 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.754e-05/0.8437, allocations: 12 kB / 0.9194 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.656e-05/0.8437, allocations: 11.92 kB / 0.9194 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.8437, allocations: 7.938 kB / 0.9194 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003374/0.8471, allocations: 1.425 MB / 0.9208 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000582/0.8477, allocations: 252.1 kB / 0.921 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002169/0.8479, allocations: 19.97 kB / 0.921 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.849, allocations: 99.75 kB / 0.9211 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.8491, allocations: 43.77 kB / 0.9212 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.844e-05/0.8492, allocations: 35.98 kB / 0.9212 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009724/0.8502, allocations: 0.6005 MB / 0.9218 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8502, allocations: 0 / 0.9218 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001027/0.8512, allocations: 264 kB / 0.9221 GB, free: 404 kB / 0.6387 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 (45): * Single equations (assignments): 45 * 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.0005582/0.8518, allocations: 207.8 kB / 0.9223 GB, free: 196 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002262/0.8541, allocations: 0.815 MB / 0.9231 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.8541, allocations: 0 / 0.9231 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.8551, allocations: 401 kB / 0.9234 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/0.8579, allocations: 0.5614 MB / 0.924 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00562/0.8635, allocations: 2.557 MB / 0.9265 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009386/0.8645, allocations: 1.107 MB / 0.9276 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001205/0.8657, allocations: 255.8 kB / 0.9278 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.866, allocations: 75.42 kB / 0.9279 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of SimCode: time 7.12e-07/0.866, allocations: 0 / 0.9279 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.0367/0.9027, allocations: 20.18 MB / 0.9476 GB, free: 6.504 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)