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.001677/0.001677, allocations: 108 kB / 15.61 MB, free: 152 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.00206/0.00206, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.423/1.423, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9703/0.9703, allocations: 135.1 MB / 425.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 68.33 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1356, allocations: 80.92 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.4413/0.577, allocations: 221.1 MB / 0.8003 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008689/0.5857, allocations: 5.712 MB / 0.8059 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007147/0.5865, allocations: 43.75 kB / 0.806 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.5877, allocations: 0.5669 MB / 0.8065 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003171/0.5909, allocations: 1.625 MB / 0.8081 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002594/0.5935, allocations: 1.205 MB / 0.8093 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002655/0.5962, allocations: 2.56 MB / 0.8118 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.5974, allocations: 0.8909 MB / 0.8126 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.5991, allocations: 1.055 MB / 0.8137 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.6006, allocations: 0.8297 MB / 0.8145 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001633/0.6008, allocations: 99.94 kB / 0.8146 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.6033, allocations: 1.543 MB / 0.8161 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003858/0.6037, allocations: 398.9 kB / 0.8165 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006801/0.6044, allocations: 0.5872 MB / 0.817 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002409/0.6068, allocations: 2.002 MB / 0.819 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6068, allocations: 0 / 0.819 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6068, allocations: 0 / 0.819 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.877e-05/0.6069, allocations: 0 / 0.819 GB, free: 12.55 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.002399/0.6093, allocations: 1.432 MB / 0.8204 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.6093, allocations: 8.031 kB / 0.8204 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/0.6095, allocations: 126.6 kB / 0.8205 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002629/0.6121, allocations: 418.2 kB / 0.8209 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.6134, allocations: 0.7725 MB / 0.8217 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003648/0.6137, allocations: 113.9 kB / 0.8218 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.6139, allocations: 72 kB / 0.8219 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.6157, allocations: 1 MB / 0.8228 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.6157, allocations: 4 kB / 0.8228 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.809e-05/0.6158, allocations: 35.94 kB / 0.8229 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/0.6159, allocations: 29.98 kB / 0.8229 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.6179, allocations: 0.8822 MB / 0.8238 GB, free: 7.547 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.005619/0.6235, allocations: 3.518 MB / 0.8272 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.6253, allocations: 0.6283 MB / 0.8278 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008449/0.6262, allocations: 348.4 kB / 0.8281 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.6264, allocations: 101 kB / 0.8282 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.6264, allocations: 46.55 kB / 0.8283 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 1.773e-06/0.6264, allocations: 0 / 0.8283 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of matching and sorting (n=41): time 0.005195/0.6316, allocations: 1.916 MB / 0.8302 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.6317, allocations: 55.41 kB / 0.8302 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009128/0.6326, allocations: 0.786 MB / 0.831 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.544e-05/0.6327, allocations: 33.7 kB / 0.831 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/0.633, allocations: 459.5 kB / 0.8314 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.6331, allocations: 145.9 kB / 0.8316 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.6333, allocations: 110.1 kB / 0.8317 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6334, allocations: 333.9 kB / 0.832 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008697/0.6343, allocations: 308.9 kB / 0.8323 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009627/0.6353, allocations: 447.5 kB / 0.8327 GB, free: 14 MB / 0.6544 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.005596/0.6409, allocations: 1.946 MB / 0.8346 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6409, allocations: 4 kB / 0.8346 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002057/0.643, allocations: 0.8504 MB / 0.8355 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.643, allocations: 4 kB / 0.8355 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.643, allocations: 4 kB / 0.8355 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.643, allocations: 8 kB / 0.8355 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008649/0.6439, allocations: 171.8 kB / 0.8356 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.6439, allocations: 4 kB / 0.8357 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008829/0.6448, allocations: 59.94 kB / 0.8357 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/0.6449, allocations: 20 kB / 0.8357 GB, free: 10.87 MB / 0.6544 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.0003456/0.6452, allocations: 277.6 kB / 0.836 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.6454, allocations: 90.91 kB / 0.8361 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.6456, allocations: 100.1 kB / 0.8362 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.6456, allocations: 7.984 kB / 0.8362 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.6456, allocations: 0 / 0.8362 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001706/0.6473, allocations: 0.699 MB / 0.8369 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003987/0.6513, allocations: 1.919 MB / 0.8387 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.6513, allocations: 4.031 kB / 0.8387 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007907/0.6521, allocations: 155.7 kB / 0.8389 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.6522, allocations: 8 kB / 0.8389 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.6522, allocations: 12 kB / 0.8389 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.6522, allocations: 5.797 kB / 0.8389 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.6522, allocations: 7.938 kB / 0.8389 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002734/0.655, allocations: 1.272 MB / 0.8402 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/0.6553, allocations: 228.1 kB / 0.8404 GB, free: 5.887 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.6554, allocations: 13.12 kB / 0.8404 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008569/0.6563, allocations: 65.52 kB / 0.8405 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.6564, allocations: 31.91 kB / 0.8405 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-05/0.6565, allocations: 27.98 kB / 0.8405 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006403/0.6571, allocations: 0.5419 MB / 0.841 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.91e-07/0.6571, allocations: 0 / 0.841 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007365/0.6579, allocations: 248 kB / 0.8413 GB, free: 4.973 MB / 0.6544 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.003389/0.6613, allocations: 1.919 MB / 0.8432 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00198/0.6632, allocations: 0.7367 MB / 0.8439 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.6633, allocations: 8 kB / 0.8439 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008789/0.6642, allocations: 337.3 kB / 0.8442 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/0.6667, allocations: 0.5348 MB / 0.8447 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/0.6803, allocations: 7.48 MB / 0.852 GB, free: 9.66 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006131/0.681, allocations: 1.048 MB / 0.8531 GB, free: 8.582 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001042/0.682, allocations: 215 kB / 0.8533 GB, free: 8.367 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005609/0.6826, allocations: 319.3 kB / 0.8536 GB, free: 8.055 MB / 0.67 GB Notification: Performance of SimCode: time 9.12e-07/0.6826, allocations: 0 / 0.8536 GB, free: 8.055 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2649/0.9475, allocations: 25.43 MB / 0.8784 GB, free: 220.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.786, allocations: 2.703 kB / 0.8784 GB, free: 220.7 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)