Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_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.0008656/0.0008657, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001786/0.001786, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9555/0.9555, allocations: 135.3 MB / 426.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003627, allocations: 12 kB / 0.5071 GB, free: 4.996 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1997, allocations: 82.32 MB / 0.5875 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.5871/0.7868, allocations: 201.4 MB / 0.7842 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01007/0.7969, allocations: 5.388 MB / 0.7895 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.7985, allocations: 35.75 kB / 0.7895 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.7998, allocations: 389.5 kB / 0.7899 GB, free: 13.56 MB / 0.6075 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.00429/0.8041, allocations: 1.217 MB / 0.791 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.8072, allocations: 0.8957 MB / 0.7919 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004471/0.8117, allocations: 2.979 MB / 0.7948 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/0.8133, allocations: 0.6716 MB / 0.7955 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002373/0.8156, allocations: 0.8752 MB / 0.7963 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/0.8175, allocations: 0.7783 MB / 0.7971 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002731/0.8178, allocations: 36 kB / 0.7971 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00284/0.8206, allocations: 0.912 MB / 0.798 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006932/0.8213, allocations: 346.9 kB / 0.7984 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006891/0.822, allocations: 229.2 kB / 0.7986 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002645/0.8247, allocations: 1.391 MB / 0.7999 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.8247, allocations: 4 kB / 0.7999 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8247, allocations: 4 kB / 0.7999 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.842e-05/0.8248, allocations: 0 / 0.7999 GB, free: 3.211 MB / 0.6075 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.00267/0.8274, allocations: 1.231 MB / 0.8011 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.8275, allocations: 16.02 kB / 0.8012 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003397/0.8278, allocations: 126.6 kB / 0.8013 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002813/0.8307, allocations: 438.3 kB / 0.8017 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.8323, allocations: 0.7381 MB / 0.8024 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003218/0.8326, allocations: 123.2 kB / 0.8025 GB, free: 464 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.8328, allocations: 87.84 kB / 0.8026 GB, free: 376 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/0.8349, allocations: 1.002 MB / 0.8036 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.835, allocations: 0 / 0.8036 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.8351, allocations: 35.95 kB / 0.8036 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.554e-05/0.8351, allocations: 29.98 kB / 0.8037 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.8373, allocations: 0.9095 MB / 0.8045 GB, free: 14.37 MB / 0.6231 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.006805/0.8441, allocations: 3.519 MB / 0.808 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.8457, allocations: 0.6478 MB / 0.8086 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007702/0.8465, allocations: 368.4 kB / 0.809 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/0.8467, allocations: 101.1 kB / 0.8091 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.8468, allocations: 50.45 kB / 0.8091 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 2.344e-06/0.8468, allocations: 0 / 0.8091 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.005293/0.8521, allocations: 1.975 MB / 0.811 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.8522, allocations: 59.41 kB / 0.8111 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.8534, allocations: 0.7705 MB / 0.8119 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.786e-05/0.8535, allocations: 37.64 kB / 0.8119 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003721/0.8539, allocations: 463.5 kB / 0.8123 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.854, allocations: 141.9 kB / 0.8125 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.8541, allocations: 12 kB / 0.8125 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.8542, allocations: 322 kB / 0.8128 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007619/0.855, allocations: 332.9 kB / 0.8131 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008774/0.8559, allocations: 455.5 kB / 0.8135 GB, free: 4.816 MB / 0.6231 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.003673/0.8596, allocations: 1.343 MB / 0.8148 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.8596, allocations: 4 kB / 0.8149 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002071/0.8617, allocations: 0.8786 MB / 0.8157 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.8617, allocations: 7.953 kB / 0.8157 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.8617, allocations: 4 kB / 0.8157 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.8618, allocations: 7.938 kB / 0.8157 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008107/0.8626, allocations: 187.8 kB / 0.8159 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/0.8626, allocations: 7.938 kB / 0.8159 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.8636, allocations: 95.77 kB / 0.816 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.8638, allocations: 23.98 kB / 0.816 GB, free: 2.238 MB / 0.6231 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.00054/0.8643, allocations: 283.4 kB / 0.8163 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002253/0.8645, allocations: 86.97 kB / 0.8164 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.8648, allocations: 96.03 kB / 0.8165 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.8648, allocations: 8 kB / 0.8165 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.8648, allocations: 0 / 0.8165 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001544/0.8664, allocations: 0.7262 MB / 0.8172 GB, free: 1 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004559/0.871, allocations: 1.954 MB / 0.8191 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.871, allocations: 416 / 0.8191 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007325/0.8717, allocations: 167.8 kB / 0.8193 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/0.8717, allocations: 4 kB / 0.8193 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.948e-05/0.8718, allocations: 15.98 kB / 0.8193 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.687e-06/0.8718, allocations: 5.062 kB / 0.8193 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/0.8718, allocations: 11.89 kB / 0.8193 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/0.8745, allocations: 1.307 MB / 0.8206 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004733/0.875, allocations: 236 kB / 0.8208 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.8751, allocations: 8.062 kB / 0.8208 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009451/0.8761, allocations: 101.6 kB / 0.8209 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.981e-05/0.8762, allocations: 39.86 kB / 0.8209 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.312e-05/0.8763, allocations: 23.98 kB / 0.821 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009065/0.8772, allocations: 0.538 MB / 0.8215 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8772, allocations: 0 / 0.8215 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001009/0.8782, allocations: 244 kB / 0.8217 GB, free: 12.2 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[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 (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.003453/0.8817, allocations: 1.964 MB / 0.8236 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001837/0.8836, allocations: 0.7206 MB / 0.8243 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.8836, allocations: 0 / 0.8243 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007957/0.8844, allocations: 350.6 kB / 0.8247 GB, free: 9.125 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/0.8869, allocations: 0.5048 MB / 0.8252 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/0.8993, allocations: 5.601 MB / 0.8306 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009637/0.9004, allocations: 1.048 MB / 0.8317 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001187/0.9016, allocations: 219.7 kB / 0.8319 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005778/0.9022, allocations: 319.3 kB / 0.8322 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of SimCode: time 1.172e-06/0.9022, allocations: 0 / 0.8322 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05897/0.9612, allocations: 24.99 MB / 0.8566 GB, free: 8.703 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/0.9614, allocations: 266.1 kB / 0.8568 GB, free: 8.348 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/3.324, allocations: 0 / 0.8568 GB, free: 8.348 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: