Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4872/0.4872, allocations: 87.51 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 349.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 109.4 kB / 420 MB, free: 8.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009685/0.0009686, allocations: 55.91 kB / 0.4891 GB, free: 7.684 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3321, allocations: 70.06 MB / 0.5575 GB, free: 44.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4621/0.7942, allocations: 188.2 MB / 0.7413 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.008056/0.8023, allocations: 5.764 MB / 0.7469 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.8037, allocations: 34.22 kB / 0.747 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.8052, allocations: 498.1 kB / 0.7474 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003898/0.8091, allocations: 1.519 MB / 0.7489 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.812, allocations: 1.087 MB / 0.75 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003479/0.8155, allocations: 3.545 MB / 0.7534 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.8165, allocations: 0.8905 MB / 0.7543 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.8181, allocations: 0.9266 MB / 0.7552 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/0.8199, allocations: 0.8812 MB / 0.7561 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.8201, allocations: 53.66 kB / 0.7561 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003078/0.8232, allocations: 1.732 MB / 0.7578 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0006682/0.8239, allocations: 458.7 kB / 0.7583 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.8249, allocations: 0.5891 MB / 0.7588 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003137/0.828, allocations: 2.202 MB / 0.761 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.828, allocations: 0 / 0.761 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.272e-06/0.828, allocations: 3.406 kB / 0.761 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.8281, allocations: 0 / 0.761 GB, free: 0.5078 MB / 0.5105 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.002274/0.8303, allocations: 1.52 MB / 0.7625 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.8304, allocations: 11.06 kB / 0.7625 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002742/0.8331, allocations: 472.1 kB / 0.7629 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.8345, allocations: 0.8271 MB / 0.7637 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003223/0.8348, allocations: 124.1 kB / 0.7639 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.835, allocations: 84.97 kB / 0.7639 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.8369, allocations: 1.186 MB / 0.7651 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.837, allocations: 0 / 0.7651 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-05/0.8371, allocations: 38.72 kB / 0.7651 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.698e-05/0.8371, allocations: 34.22 kB / 0.7652 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.8394, allocations: 1.084 MB / 0.7662 GB, free: 15.15 MB / 0.5261 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.006399/0.8458, allocations: 4.356 MB / 0.7705 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.8479, allocations: 0.7654 MB / 0.7712 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009569/0.8489, allocations: 408 kB / 0.7716 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001744/0.849, allocations: 100.5 kB / 0.7717 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.8491, allocations: 39.56 kB / 0.7717 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 2.004e-06/0.8491, allocations: 0 / 0.7717 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.005721/0.8548, allocations: 2.21 MB / 0.7739 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.8549, allocations: 56.81 kB / 0.774 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000976/0.8559, allocations: 0.8661 MB / 0.7748 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/0.8559, allocations: 35.17 kB / 0.7748 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/0.8562, allocations: 492.7 kB / 0.7753 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.8564, allocations: 166.3 kB / 0.7755 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.8566, allocations: 123.6 kB / 0.7756 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.8567, allocations: 335.5 kB / 0.7759 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009545/0.8577, allocations: 370.4 kB / 0.7763 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.8588, allocations: 0.5257 MB / 0.7768 GB, free: 10.83 MB / 0.5261 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.006476/0.8653, allocations: 2.288 MB / 0.779 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.8653, allocations: 3.406 kB / 0.779 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002327/0.8676, allocations: 0.9902 MB / 0.78 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.8677, allocations: 7.281 kB / 0.78 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.8677, allocations: 4 kB / 0.78 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.8677, allocations: 8.094 kB / 0.78 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009211/0.8686, allocations: 196.3 kB / 0.7802 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.8687, allocations: 5.875 kB / 0.7802 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.8698, allocations: 106 kB / 0.7803 GB, free: 9.258 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/0.8699, allocations: 28.64 kB / 0.7803 GB, free: 9.25 MB / 0.5261 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.0004796/0.8704, allocations: 318.8 kB / 0.7806 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.8705, allocations: 90.44 kB / 0.7807 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.8707, allocations: 105.2 kB / 0.7808 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.8708, allocations: 9.391 kB / 0.7808 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.8708, allocations: 3.938 kB / 0.7808 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002039/0.8728, allocations: 1.037 MB / 0.7818 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004723/0.8775, allocations: 2.163 MB / 0.7839 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.8776, allocations: 0 / 0.7839 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008782/0.8785, allocations: 166.8 kB / 0.7841 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/0.8785, allocations: 8 kB / 0.7841 GB, free: 5.953 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/0.8785, allocations: 18.89 kB / 0.7841 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.8786, allocations: 8 kB / 0.7841 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.8786, allocations: 4 kB / 0.7841 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009224/0.8878, allocations: 4.787 MB / 0.7888 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005168/0.8883, allocations: 255.9 kB / 0.7891 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.8885, allocations: 18.89 kB / 0.7891 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009665/0.8894, allocations: 105 kB / 0.7892 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.317e-05/0.8895, allocations: 35.95 kB / 0.7892 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.187e-05/0.8896, allocations: 30.89 kB / 0.7892 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007527/0.8904, allocations: 0.6044 MB / 0.7898 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8904, allocations: 0 / 0.7898 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001232/0.8916, allocations: 391.9 kB / 0.7902 GB, free: 15.54 MB / 0.5417 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.0004345/0.8921, allocations: 206 kB / 0.7904 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002122/0.8942, allocations: 0.8139 MB / 0.7912 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.8942, allocations: 0 / 0.7912 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.8952, allocations: 395.9 kB / 0.7916 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/0.8978, allocations: 0.5672 MB / 0.7921 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00517/0.903, allocations: 2.852 MB / 0.7949 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006992/0.9037, allocations: 1.126 MB / 0.796 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001025/0.9047, allocations: 275.8 kB / 0.7963 GB, free: 9.27 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.905, allocations: 79.42 kB / 0.7963 GB, free: 9.195 MB / 0.5417 GB Notification: Performance of SimCode: time 1.402e-06/0.905, allocations: 0 / 0.7963 GB, free: 9.195 MB / 0.5417 GB Notification: Performance of Templates: time 0.0329/0.9379, allocations: 21.28 MB / 0.8171 GB, free: 4.23 MB / 0.5573 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)