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.006601/0.006601, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001244/0.001244, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.00202, allocations: 282.4 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9872/0.9872, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 100.1 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1968, allocations: 86.97 MB / 0.7664 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.6875/0.8843, allocations: 190.5 MB / 0.9524 GB, free: 4.289 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.009256/0.8936, allocations: 5.703 MB / 0.958 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.8947, allocations: 43.75 kB / 0.958 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.8961, allocations: 0.5708 MB / 0.9586 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003492/0.8996, allocations: 1.606 MB / 0.9602 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002791/0.9024, allocations: 1.224 MB / 0.9614 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00281/0.9052, allocations: 2.553 MB / 0.9638 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.9065, allocations: 1.039 MB / 0.9649 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00158/0.9081, allocations: 1.035 MB / 0.9659 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/0.9095, allocations: 0.8557 MB / 0.9667 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.9097, allocations: 108 kB / 0.9668 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002648/0.9124, allocations: 1.555 MB / 0.9683 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004832/0.9129, allocations: 0.4948 MB / 0.9688 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006567/0.9135, allocations: 0.6417 MB / 0.9694 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002625/0.9162, allocations: 2.181 MB / 0.9716 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.9162, allocations: 4 kB / 0.9716 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9162, allocations: 0 / 0.9716 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.697e-05/0.9162, allocations: 0 / 0.9716 GB, free: 0.6328 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.002273/0.9185, allocations: 1.512 MB / 0.973 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.9186, allocations: 12.03 kB / 0.9731 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002917/0.9215, allocations: 474 kB / 0.9735 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.923, allocations: 0.8514 MB / 0.9743 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.07e-05/0.9231, allocations: 69.98 kB / 0.9744 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.9232, allocations: 84 kB / 0.9745 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/0.9254, allocations: 1.175 MB / 0.9756 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.9254, allocations: 3.906 kB / 0.9756 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.9256, allocations: 44 kB / 0.9757 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/0.9256, allocations: 33.98 kB / 0.9757 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002378/0.928, allocations: 1.07 MB / 0.9768 GB, free: 11.19 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.006627/0.9346, allocations: 4.311 MB / 0.981 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.9366, allocations: 0.7468 MB / 0.9817 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009384/0.9376, allocations: 400.6 kB / 0.9821 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/0.9378, allocations: 105.8 kB / 0.9822 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.9378, allocations: 42.55 kB / 0.9822 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.324e-06/0.9378, allocations: 0 / 0.9822 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.005758/0.9436, allocations: 2.181 MB / 0.9844 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.9437, allocations: 63.34 kB / 0.9844 GB, free: 3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.9447, allocations: 0.8647 MB / 0.9853 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.955e-05/0.9448, allocations: 37.7 kB / 0.9853 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/0.9451, allocations: 499.2 kB / 0.9858 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.9452, allocations: 153.8 kB / 0.9859 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/0.9455, allocations: 122.2 kB / 0.986 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.9456, allocations: 330 kB / 0.9863 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009591/0.9466, allocations: 369 kB / 0.9867 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.9476, allocations: 0.5012 MB / 0.9872 GB, free: 72 kB / 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.006165/0.9538, allocations: 2.266 MB / 0.9894 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.9538, allocations: 0 / 0.9894 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002343/0.9562, allocations: 0.9782 MB / 0.9904 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.9562, allocations: 10.34 kB / 0.9904 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.9562, allocations: 7.984 kB / 0.9904 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.9563, allocations: 8 kB / 0.9904 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009401/0.9572, allocations: 191.8 kB / 0.9906 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.9572, allocations: 11.94 kB / 0.9906 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009334/0.9582, allocations: 67.92 kB / 0.9906 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.254e-05/0.9582, allocations: 20 kB / 0.9907 GB, free: 12.45 MB / 0.7481 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.0004606/0.9587, allocations: 317.3 kB / 0.991 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.9589, allocations: 102.9 kB / 0.9911 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.9591, allocations: 104.8 kB / 0.9912 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.9591, allocations: 4 kB / 0.9912 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.9591, allocations: 3.938 kB / 0.9912 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002047/0.9612, allocations: 1.022 MB / 0.9922 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004662/0.9659, allocations: 2.133 MB / 0.9943 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.9659, allocations: 4 kB / 0.9943 GB, free: 8.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008653/0.9668, allocations: 168.1 kB / 0.9944 GB, free: 8.406 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/0.9668, allocations: 8 kB / 0.9944 GB, free: 8.398 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/0.9668, allocations: 15.98 kB / 0.9944 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.9668, allocations: 4.562 kB / 0.9944 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.8e-05/0.9669, allocations: 11.94 kB / 0.9945 GB, free: 8.367 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003157/0.97, allocations: 1.415 MB / 0.9958 GB, free: 6.891 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004761/0.9705, allocations: 255.9 kB / 0.9961 GB, free: 6.621 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.9707, allocations: 17.23 kB / 0.9961 GB, free: 6.605 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009377/0.9716, allocations: 71.88 kB / 0.9962 GB, free: 6.535 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.311e-05/0.9717, allocations: 39.97 kB / 0.9962 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.796e-05/0.9718, allocations: 35.97 kB / 0.9962 GB, free: 6.461 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008473/0.9727, allocations: 0.6004 MB / 0.9968 GB, free: 5.863 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9727, allocations: 4 kB / 0.9968 GB, free: 5.859 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008757/0.9736, allocations: 268 kB / 0.9971 GB, free: 5.598 MB / 0.7481 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.0005065/0.9741, allocations: 212.3 kB / 0.9973 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002252/0.9763, allocations: 0.8149 MB / 0.9981 GB, free: 4.574 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.9764, allocations: 0 / 0.9981 GB, free: 4.574 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.9774, allocations: 393 kB / 0.9985 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/0.9799, allocations: 0.5889 MB / 0.999 GB, free: 3.621 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004728/0.9846, allocations: 2.152 MB / 1.001 GB, free: 1.395 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007373/0.9854, allocations: 1.114 MB / 1.002 GB, free: 260 kB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008475/0.9862, allocations: 271.7 kB / 1.002 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.9865, allocations: 79.42 kB / 1.003 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of SimCode: time 4.81e-07/0.9866, allocations: 0 / 1.003 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of Templates: time 0.03313/1.02, allocations: 21.42 MB / 1.023 GB, free: 10.84 MB / 0.7794 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)