Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_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.001647/0.001647, allocations: 108 kB / 15.6 MB, free: 132 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.001955/0.001955, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.744/0.744, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 67.86 kB / 0.5019 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3512, allocations: 80.18 MB / 0.5802 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.2216/0.5729, allocations: 221.1 MB / 0.7961 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009363/0.5823, allocations: 5.727 MB / 0.8017 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.5839, allocations: 35.81 kB / 0.8017 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001811/0.5857, allocations: 0.5746 MB / 0.8023 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003946/0.5897, allocations: 1.622 MB / 0.8038 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002929/0.5926, allocations: 1.21 MB / 0.805 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0029/0.5955, allocations: 2.551 MB / 0.8075 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.5967, allocations: 0.8911 MB / 0.8084 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/0.5982, allocations: 1.051 MB / 0.8094 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.5999, allocations: 0.8411 MB / 0.8102 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.6001, allocations: 96 kB / 0.8103 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00273/0.6029, allocations: 1.54 MB / 0.8118 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003851/0.6033, allocations: 410.9 kB / 0.8122 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005777/0.6038, allocations: 0.5794 MB / 0.8128 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002284/0.6061, allocations: 1.998 MB / 0.8147 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6061, allocations: 4 kB / 0.8147 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.585e-06/0.6062, allocations: 0 / 0.8147 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.6062, allocations: 3.938 kB / 0.8147 GB, free: 0.5273 MB / 0.6387 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.2238/0.83, allocations: 1.42 MB / 0.8161 GB, free: 224 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.8301, allocations: 10.23 kB / 0.8161 GB, free: 224 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001963/0.8303, allocations: 129.4 kB / 0.8163 GB, free: 223.9 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003018/0.8333, allocations: 410.8 kB / 0.8167 GB, free: 223.9 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.8347, allocations: 0.7656 MB / 0.8174 GB, free: 223.4 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000373/0.8351, allocations: 114.8 kB / 0.8175 GB, free: 223.4 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.8353, allocations: 74.69 kB / 0.8176 GB, free: 223.4 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.8372, allocations: 1.007 MB / 0.8186 GB, free: 223 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.8372, allocations: 0.75 kB / 0.8186 GB, free: 223 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.468e-05/0.8373, allocations: 32.53 kB / 0.8186 GB, free: 222.9 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/0.8374, allocations: 28.31 kB / 0.8186 GB, free: 222.9 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.8394, allocations: 0.8863 MB / 0.8195 GB, free: 222.7 MB / 0.6387 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.005677/0.8451, allocations: 3.504 MB / 0.8229 GB, free: 220.7 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.8469, allocations: 0.6283 MB / 0.8235 GB, free: 220.5 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008729/0.8478, allocations: 348 kB / 0.8239 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.848, allocations: 100.9 kB / 0.824 GB, free: 220.3 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.848, allocations: 45.08 kB / 0.824 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 2.484e-06/0.848, allocations: 3.844 kB / 0.824 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=41): time 0.00526/0.8533, allocations: 1.917 MB / 0.8259 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.8533, allocations: 56.28 kB / 0.8259 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008751/0.8542, allocations: 0.7781 MB / 0.8267 GB, free: 219 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.8543, allocations: 37.33 kB / 0.8267 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.8545, allocations: 450.4 kB / 0.8272 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.676e-05/0.8546, allocations: 147.6 kB / 0.8273 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.8548, allocations: 109 kB / 0.8274 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.234e-05/0.8549, allocations: 331 kB / 0.8277 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008235/0.8557, allocations: 314.1 kB / 0.828 GB, free: 218 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008601/0.8566, allocations: 450.6 kB / 0.8284 GB, free: 217.8 MB / 0.6387 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.005169/0.8617, allocations: 1.944 MB / 0.8303 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8618, allocations: 1.344 kB / 0.8303 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00218/0.8639, allocations: 0.8542 MB / 0.8312 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.864, allocations: 6.438 kB / 0.8312 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.864, allocations: 8.688 kB / 0.8312 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.864, allocations: 5.156 kB / 0.8312 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008658/0.8649, allocations: 167.6 kB / 0.8314 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.8649, allocations: 13.33 kB / 0.8314 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009304/0.8658, allocations: 66.5 kB / 0.8314 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-05/0.8659, allocations: 20.56 kB / 0.8315 GB, free: 216.3 MB / 0.6387 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003478/0.8663, allocations: 279.9 kB / 0.8317 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.8664, allocations: 89.81 kB / 0.8318 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.8666, allocations: 95.55 kB / 0.8319 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.8666, allocations: 8.469 kB / 0.8319 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.8666, allocations: 3.938 kB / 0.8319 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001572/0.8682, allocations: 0.6985 MB / 0.8326 GB, free: 215.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003703/0.8719, allocations: 1.925 MB / 0.8345 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.8719, allocations: 2.938 kB / 0.8345 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007854/0.8727, allocations: 148.3 kB / 0.8346 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.8727, allocations: 9.141 kB / 0.8346 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/0.8728, allocations: 11.22 kB / 0.8346 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.8728, allocations: 8.531 kB / 0.8346 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.8728, allocations: 8.031 kB / 0.8346 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.8753, allocations: 1.253 MB / 0.8359 GB, free: 213.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.8757, allocations: 234.9 kB / 0.8361 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.8758, allocations: 14.56 kB / 0.8361 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008621/0.8767, allocations: 57.62 kB / 0.8362 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.057e-05/0.8768, allocations: 43.11 kB / 0.8362 GB, free: 213.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.275e-05/0.8768, allocations: 26.42 kB / 0.8362 GB, free: 213.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006079/0.8774, allocations: 0.5424 MB / 0.8368 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8774, allocations: 1.094 kB / 0.8368 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008058/0.8783, allocations: 240.6 kB / 0.837 GB, free: 212.8 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 (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.002995/0.8813, allocations: 1.915 MB / 0.8389 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.8831, allocations: 0.7449 MB / 0.8396 GB, free: 211.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.8831, allocations: 1.844 kB / 0.8396 GB, free: 211.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007936/0.8839, allocations: 342 kB / 0.8399 GB, free: 211 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.8862, allocations: 0.5236 MB / 0.8404 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.8974, allocations: 7.485 MB / 0.8477 GB, free: 205.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.8978, allocations: 1.04 MB / 0.8488 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008719/0.8987, allocations: 219 kB / 0.849 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003923/0.8991, allocations: 319.3 kB / 0.8493 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of SimCode: time 7.01e-07/0.8991, allocations: 0 / 0.8493 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0494/0.9485, allocations: 25.43 MB / 0.8741 GB, free: 179 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.841, allocations: 9.422 kB / 0.8741 GB, free: 179 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)