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.006367/0.006367, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001387/0.001387, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 298.8 kB / 290.8 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9219/0.9219, allocations: 169.2 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 91.86 kB / 0.6815 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4178, allocations: 86.98 MB / 0.7664 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1938/0.6116, allocations: 190.5 MB / 0.9524 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.442/1.054, allocations: 5.715 MB / 0.958 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/1.055, allocations: 41.69 kB / 0.958 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001518/1.057, allocations: 0.5674 MB / 0.9586 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004203/1.061, allocations: 1.61 MB / 0.9602 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003412/1.064, allocations: 1.213 MB / 0.9613 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003323/1.068, allocations: 2.554 MB / 0.9638 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/1.069, allocations: 1.032 MB / 0.9648 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/1.071, allocations: 1.063 MB / 0.9659 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/1.072, allocations: 0.8521 MB / 0.9667 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001599/1.072, allocations: 108.4 kB / 0.9668 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002779/1.075, allocations: 1.554 MB / 0.9683 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004637/1.076, allocations: 0.5003 MB / 0.9688 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006233/1.076, allocations: 0.6395 MB / 0.9695 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002384/1.079, allocations: 2.182 MB / 0.9716 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/1.079, allocations: 0.9062 kB / 0.9716 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/1.079, allocations: 0 / 0.9716 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.469e-05/1.079, allocations: 0 / 0.9716 GB, free: 1.578 MB / 0.7169 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.002149/1.081, allocations: 1.515 MB / 0.9731 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/1.081, allocations: 10.16 kB / 0.9731 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002817/1.084, allocations: 475.5 kB / 0.9735 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/1.085, allocations: 0.8552 MB / 0.9744 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.832e-05/1.085, allocations: 66.66 kB / 0.9744 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/1.085, allocations: 79.38 kB / 0.9745 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/1.087, allocations: 1.179 MB / 0.9757 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/1.087, allocations: 5.734 kB / 0.9757 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.613e-05/1.087, allocations: 35.94 kB / 0.9757 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.574e-05/1.087, allocations: 36.58 kB / 0.9757 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/1.089, allocations: 1.068 MB / 0.9768 GB, free: 16.29 MB / 0.7325 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.005759/1.095, allocations: 4.311 MB / 0.981 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/1.097, allocations: 0.7442 MB / 0.9817 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008383/1.098, allocations: 406.5 kB / 0.9821 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/1.098, allocations: 102.8 kB / 0.9822 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/1.098, allocations: 40.09 kB / 0.9822 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.934e-06/1.098, allocations: 0.8438 kB / 0.9822 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.005291/1.103, allocations: 2.186 MB / 0.9844 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/1.103, allocations: 54.59 kB / 0.9844 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008415/1.104, allocations: 0.8675 MB / 0.9853 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.044e-05/1.104, allocations: 36.12 kB / 0.9853 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/1.104, allocations: 0.4895 MB / 0.9858 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/1.105, allocations: 157.2 kB / 0.9859 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/1.105, allocations: 121 kB / 0.986 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001078/1.105, allocations: 330.8 kB / 0.9864 GB, free: 13 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000865/1.106, allocations: 372.8 kB / 0.9867 GB, free: 13 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009551/1.107, allocations: 0.4975 MB / 0.9872 GB, free: 12.86 MB / 0.7325 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.005693/1.112, allocations: 2.262 MB / 0.9894 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.112, allocations: 2.781 kB / 0.9894 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002126/1.115, allocations: 0.9894 MB / 0.9904 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.115, allocations: 9.844 kB / 0.9904 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.115, allocations: 5.484 kB / 0.9904 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/1.115, allocations: 12.06 kB / 0.9904 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008913/1.116, allocations: 184.4 kB / 0.9906 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/1.116, allocations: 14.02 kB / 0.9906 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009321/1.116, allocations: 69.3 kB / 0.9907 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.846e-05/1.117, allocations: 27.03 kB / 0.9907 GB, free: 12.5 MB / 0.7325 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.0004149/1.117, allocations: 313.4 kB / 0.991 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/1.117, allocations: 96.44 kB / 0.9911 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/1.117, allocations: 106.7 kB / 0.9912 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/1.117, allocations: 9.656 kB / 0.9912 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/1.117, allocations: 0 / 0.9912 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001899/1.119, allocations: 1.025 MB / 0.9922 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004105/1.123, allocations: 2.131 MB / 0.9943 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/1.123, allocations: 2.781 kB / 0.9943 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008417/1.124, allocations: 169.2 kB / 0.9944 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/1.124, allocations: 5.25 kB / 0.9944 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/1.124, allocations: 15.36 kB / 0.9945 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/1.124, allocations: 11.06 kB / 0.9945 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.124, allocations: 6.75 kB / 0.9945 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002837/1.127, allocations: 1.407 MB / 0.9958 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003836/1.128, allocations: 257.5 kB / 0.9961 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/1.128, allocations: 18.62 kB / 0.9961 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008954/1.129, allocations: 65.86 kB / 0.9962 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.423e-05/1.129, allocations: 42.84 kB / 0.9962 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.516e-05/1.129, allocations: 30 kB / 0.9962 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000627/1.129, allocations: 0.5994 MB / 0.9968 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.129, allocations: 3.094 kB / 0.9968 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007549/1.13, allocations: 269.7 kB / 0.9971 GB, free: 10.89 MB / 0.7325 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.0004606/1.131, allocations: 203.1 kB / 0.9973 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001931/1.133, allocations: 0.8176 MB / 0.9981 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.133, allocations: 5.531 kB / 0.9981 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009078/1.134, allocations: 388.7 kB / 0.9985 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/1.136, allocations: 0.5923 MB / 0.999 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004404/1.14, allocations: 2.166 MB / 1.001 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006037/1.141, allocations: 1.11 MB / 1.002 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000813/1.142, allocations: 262.5 kB / 1.002 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/1.142, allocations: 80.14 kB / 1.003 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/1.142, allocations: 0 / 1.003 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of Templates: time 0.03265/1.175, allocations: 21.1 MB / 1.023 GB, free: 1.848 MB / 0.7325 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)