Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",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.000685/0.0006851, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007178/0.0007178, allocations: 172.8 kB / 16.58 MB, free: 6.852 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.186/1.186, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6066/0.6066, allocations: 113.7 MB / 405.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002733/0.0002733, allocations: 12.59 kB / 493.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1275, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.4003/0.5279, allocations: 201.5 MB / 0.7536 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007303/0.5352, allocations: 5.393 MB / 0.7589 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007709/0.536, allocations: 39.75 kB / 0.7589 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009682/0.537, allocations: 393.5 kB / 0.7593 GB, free: 11.53 MB / 0.5762 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.002587/0.5396, allocations: 1.221 MB / 0.7605 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.5418, allocations: 0.892 MB / 0.7614 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002664/0.5444, allocations: 2.999 MB / 0.7643 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007523/0.5452, allocations: 0.6654 MB / 0.765 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.5464, allocations: 0.8752 MB / 0.7658 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008797/0.5473, allocations: 0.7744 MB / 0.7666 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.515e-05/0.5474, allocations: 40 kB / 0.7666 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.5491, allocations: 0.9198 MB / 0.7675 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003061/0.5494, allocations: 342.9 kB / 0.7678 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.5496, allocations: 233.2 kB / 0.768 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.5508, allocations: 1.395 MB / 0.7694 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5508, allocations: 4 kB / 0.7694 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5508, allocations: 0 / 0.7694 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.5509, allocations: 0 / 0.7694 GB, free: 1.156 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001634/0.5525, allocations: 1.24 MB / 0.7706 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.5525, allocations: 12.03 kB / 0.7706 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001273/0.5527, allocations: 123.2 kB / 0.7708 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/0.5549, allocations: 434.3 kB / 0.7712 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.556, allocations: 0.742 MB / 0.7719 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002779/0.5563, allocations: 133.9 kB / 0.772 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.5564, allocations: 75.94 kB / 0.7721 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.558, allocations: 1.006 MB / 0.7731 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.558, allocations: 0 / 0.7731 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.3e-05/0.5581, allocations: 43.98 kB / 0.7731 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.279e-05/0.5581, allocations: 26 kB / 0.7731 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.5598, allocations: 0.9134 MB / 0.774 GB, free: 12.31 MB / 0.5919 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.004702/0.5645, allocations: 3.525 MB / 0.7775 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.5659, allocations: 0.6399 MB / 0.7781 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006776/0.5666, allocations: 369.2 kB / 0.7785 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001624/0.5668, allocations: 101.1 kB / 0.7786 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.5668, allocations: 42.5 kB / 0.7786 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 3.106e-06/0.5668, allocations: 0 / 0.7786 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of matching and sorting (n=41): time 0.004192/0.571, allocations: 1.998 MB / 0.7805 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.571, allocations: 55.41 kB / 0.7806 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007794/0.5718, allocations: 0.7705 MB / 0.7813 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.5719, allocations: 37.7 kB / 0.7814 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.5722, allocations: 459.4 kB / 0.7818 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.5723, allocations: 141.9 kB / 0.782 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.5723, allocations: 12 kB / 0.782 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.442e-05/0.5724, allocations: 326 kB / 0.7823 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006735/0.5731, allocations: 336.8 kB / 0.7826 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007393/0.5738, allocations: 455.5 kB / 0.783 GB, free: 2.727 MB / 0.5919 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.00319/0.577, allocations: 1.347 MB / 0.7844 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5771, allocations: 0 / 0.7844 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001606/0.5787, allocations: 0.8777 MB / 0.7852 GB, free: 488 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.5787, allocations: 8 kB / 0.7852 GB, free: 480 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.5787, allocations: 4 kB / 0.7852 GB, free: 476 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.5787, allocations: 8.094 kB / 0.7852 GB, free: 468 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000718/0.5795, allocations: 187.8 kB / 0.7854 GB, free: 280 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.5795, allocations: 7.984 kB / 0.7854 GB, free: 272 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007446/0.5802, allocations: 99.72 kB / 0.7855 GB, free: 172 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.656e-05/0.5803, allocations: 24 kB / 0.7855 GB, free: 148 kB / 0.5919 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: 14 * 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 (65): * Single equations (assignments): 65 * 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.0003259/0.5806, allocations: 277.3 kB / 0.7858 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.5807, allocations: 94.94 kB / 0.7859 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.5809, allocations: 96.09 kB / 0.786 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.5809, allocations: 4 kB / 0.786 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.5809, allocations: 0 / 0.786 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001349/0.5823, allocations: 0.7264 MB / 0.7867 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003311/0.5856, allocations: 1.969 MB / 0.7886 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.5856, allocations: 4 kB / 0.7886 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00067/0.5863, allocations: 172.1 kB / 0.7888 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.5863, allocations: 7.938 kB / 0.7888 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.5864, allocations: 12 kB / 0.7888 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.5864, allocations: 7.984 kB / 0.7888 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5864, allocations: 4 kB / 0.7888 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002174/0.5886, allocations: 1.28 MB / 0.7901 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.5889, allocations: 236.1 kB / 0.7903 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.589, allocations: 12.88 kB / 0.7903 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007449/0.5897, allocations: 93.58 kB / 0.7904 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.5898, allocations: 31.91 kB / 0.7904 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.917e-05/0.5899, allocations: 39.92 kB / 0.7905 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005754/0.5904, allocations: 0.5302 MB / 0.791 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5905, allocations: 0 / 0.791 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000674/0.5911, allocations: 251.9 kB / 0.7912 GB, free: 10.12 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (41): * Single equations (assignments): 41 * 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.002691/0.5938, allocations: 1.925 MB / 0.7931 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001481/0.5953, allocations: 0.7222 MB / 0.7938 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5953, allocations: 0 / 0.7938 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007084/0.596, allocations: 353 kB / 0.7941 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.5981, allocations: 0.5106 MB / 0.7946 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00909/0.6072, allocations: 5.598 MB / 0.8001 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/0.6077, allocations: 1.056 MB / 0.8011 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008026/0.6085, allocations: 223 kB / 0.8013 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/0.609, allocations: 323.3 kB / 0.8017 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of SimCode: time 4.21e-07/0.609, allocations: 0 / 0.8017 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2671/0.8761, allocations: 24.96 MB / 0.826 GB, free: 219.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/0.8763, allocations: 271.3 kB / 0.8263 GB, free: 218.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.776, allocations: 0 / 0.8263 GB, free: 218.8 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: