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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006597/0.0006596, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007038/0.0007038, allocations: 173.5 kB / 16.58 MB, free: 5.984 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.158/1.158, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6018/0.6018, allocations: 113.7 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002599/0.00026, allocations: 8.219 kB / 493.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1126, allocations: 77.12 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.3723/0.485, allocations: 173.3 MB / 0.7261 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007085/0.4921, allocations: 5.378 MB / 0.7314 GB, free: 8.129 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009368/0.493, allocations: 31.81 kB / 0.7314 GB, free: 8.098 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.4941, allocations: 393.5 kB / 0.7318 GB, free: 7.711 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002751/0.4969, allocations: 1.213 MB / 0.733 GB, free: 6.492 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.4991, allocations: 0.8965 MB / 0.7338 GB, free: 5.613 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003067/0.5022, allocations: 2.975 MB / 0.7368 GB, free: 2.629 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.5034, allocations: 0.7294 MB / 0.7375 GB, free: 1.887 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.505, allocations: 0.8636 MB / 0.7383 GB, free: 1.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.5064, allocations: 0.8017 MB / 0.7391 GB, free: 220 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002395/0.5066, allocations: 43.94 kB / 0.7391 GB, free: 176 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.5085, allocations: 0.9198 MB / 0.74 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005219/0.509, allocations: 434.8 kB / 0.7404 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000392/0.5094, allocations: 257.1 kB / 0.7407 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.511, allocations: 1.52 MB / 0.7422 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.511, allocations: 0 / 0.7422 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.895e-06/0.511, allocations: 0 / 0.7422 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.358e-05/0.5111, allocations: 7.938 kB / 0.7422 GB, free: 13.04 MB / 0.5606 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.001961/0.5131, allocations: 1.302 MB / 0.7435 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.5131, allocations: 15.97 kB / 0.7435 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/0.5133, allocations: 139.3 kB / 0.7436 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002509/0.5158, allocations: 0.4903 MB / 0.7441 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.5169, allocations: 0.7857 MB / 0.7448 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002882/0.5172, allocations: 141.9 kB / 0.745 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.5174, allocations: 87.91 kB / 0.7451 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.5192, allocations: 1.19 MB / 0.7462 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.5193, allocations: 4 kB / 0.7462 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-05/0.5194, allocations: 39.94 kB / 0.7463 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.482e-05/0.5194, allocations: 41.98 kB / 0.7463 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.5214, allocations: 1.101 MB / 0.7474 GB, free: 7.582 MB / 0.5606 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.005545/0.527, allocations: 4.37 MB / 0.7517 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.5286, allocations: 0.7873 MB / 0.7524 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000795/0.5294, allocations: 424.6 kB / 0.7528 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.5296, allocations: 105.1 kB / 0.7529 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.5296, allocations: 38.56 kB / 0.753 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=43): time 1.813e-06/0.5296, allocations: 0 / 0.753 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.004755/0.5344, allocations: 2.288 MB / 0.7552 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.5344, allocations: 63.41 kB / 0.7553 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008722/0.5353, allocations: 0.8607 MB / 0.7561 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.5354, allocations: 37.7 kB / 0.7561 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.5357, allocations: 499.2 kB / 0.7566 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.5358, allocations: 153.8 kB / 0.7568 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.5358, allocations: 16 kB / 0.7568 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.759e-05/0.5359, allocations: 329.9 kB / 0.7571 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007998/0.5367, allocations: 393 kB / 0.7575 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008624/0.5376, allocations: 0.517 MB / 0.758 GB, free: 12.3 MB / 0.5762 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.003661/0.5413, allocations: 1.561 MB / 0.7595 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.5413, allocations: 0 / 0.7595 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001936/0.5432, allocations: 1.033 MB / 0.7605 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.5433, allocations: 4 kB / 0.7605 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.5433, allocations: 4 kB / 0.7605 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.5433, allocations: 8 kB / 0.7605 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008136/0.5441, allocations: 211.8 kB / 0.7607 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.5441, allocations: 11.94 kB / 0.7607 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000846/0.545, allocations: 115.7 kB / 0.7608 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/0.5451, allocations: 27.98 kB / 0.7609 GB, free: 9.312 MB / 0.5762 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003818/0.5454, allocations: 309.6 kB / 0.7612 GB, free: 9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.5456, allocations: 98.88 kB / 0.7613 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/0.5458, allocations: 100.8 kB / 0.7614 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.5458, allocations: 4 kB / 0.7614 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.5458, allocations: 0 / 0.7614 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001699/0.5475, allocations: 1.075 MB / 0.7624 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003855/0.5514, allocations: 2.199 MB / 0.7646 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.5514, allocations: 4 kB / 0.7646 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007603/0.5522, allocations: 183.9 kB / 0.7647 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.998e-06/0.5522, allocations: 7.938 kB / 0.7647 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.259e-05/0.5522, allocations: 19.92 kB / 0.7648 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.5523, allocations: 12 kB / 0.7648 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.5523, allocations: 4.875 kB / 0.7648 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.5549, allocations: 1.495 MB / 0.7662 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003766/0.5553, allocations: 255.9 kB / 0.7665 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.5554, allocations: 8 kB / 0.7665 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008447/0.5562, allocations: 107.8 kB / 0.7666 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/0.5563, allocations: 43.84 kB / 0.7666 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.568e-05/0.5564, allocations: 31.97 kB / 0.7667 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006874/0.5571, allocations: 0.5888 MB / 0.7672 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5571, allocations: 0 / 0.7672 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008087/0.5579, allocations: 276 kB / 0.7675 GB, free: 2.254 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003192/0.5611, allocations: 2.136 MB / 0.7696 GB, free: 64 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001771/0.5629, allocations: 0.8508 MB / 0.7704 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5629, allocations: 0 / 0.7704 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008173/0.5637, allocations: 413.1 kB / 0.7708 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.5659, allocations: 0.5696 MB / 0.7714 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.5763, allocations: 6.472 MB / 0.7777 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/0.5769, allocations: 1.103 MB / 0.7788 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009066/0.5778, allocations: 263.8 kB / 0.779 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000489/0.5783, allocations: 351.3 kB / 0.7794 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.5783, allocations: 0 / 0.7794 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04314/0.6214, allocations: 28.13 MB / 0.8068 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/0.6217, allocations: 290.3 kB / 0.8071 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/2.589, allocations: 3.938 kB / 0.8071 GB, free: 9.812 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: