Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.005235/0.005235, allocations: 100.2 kB / 15.73 MB, free: 6.004 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.001271/0.001271, allocations: 193.1 kB / 16.67 MB, free: 5.93 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.826/0.826, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 66.48 kB / 0.5809 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.153, allocations: 80.2 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.5294/0.6824, allocations: 190.6 MB / 0.8453 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009666/0.6921, allocations: 5.716 MB / 0.8509 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.6939, allocations: 40.59 kB / 0.851 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002004/0.696, allocations: 0.5683 MB / 0.8515 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005047/0.7011, allocations: 1.624 MB / 0.8531 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00342/0.7046, allocations: 1.218 MB / 0.8543 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003591/0.7082, allocations: 2.56 MB / 0.8568 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.7095, allocations: 0.8784 MB / 0.8576 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002047/0.7116, allocations: 1.045 MB / 0.8587 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.7136, allocations: 0.8112 MB / 0.8595 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003002/0.7139, allocations: 95.81 kB / 0.8596 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00339/0.7173, allocations: 1.539 MB / 0.8611 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006173/0.7179, allocations: 414.9 kB / 0.8615 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009544/0.7189, allocations: 0.5833 MB / 0.862 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003075/0.7219, allocations: 2.03 MB / 0.864 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.722, allocations: 0 / 0.864 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.82e-07/0.722, allocations: 0 / 0.864 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.722, allocations: 0 / 0.864 GB, free: 4.453 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002306/0.7243, allocations: 1.471 MB / 0.8654 GB, free: 2.926 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.7243, allocations: 8.031 kB / 0.8654 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001566/0.7245, allocations: 126.5 kB / 0.8656 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002537/0.727, allocations: 422.8 kB / 0.866 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.7285, allocations: 0.8123 MB / 0.8668 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-05/0.7285, allocations: 69.86 kB / 0.8668 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.7287, allocations: 79.98 kB / 0.8669 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.7307, allocations: 0.975 MB / 0.8679 GB, free: 384 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.7307, allocations: 0 / 0.8679 GB, free: 384 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.691e-05/0.7308, allocations: 32 kB / 0.8679 GB, free: 352 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/0.7309, allocations: 26 kB / 0.8679 GB, free: 324 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.7329, allocations: 0.8743 MB / 0.8688 GB, free: 15.44 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.005941/0.7388, allocations: 3.476 MB / 0.8722 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.7404, allocations: 0.5991 MB / 0.8727 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008064/0.7412, allocations: 340.3 kB / 0.8731 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/0.7414, allocations: 97.42 kB / 0.8732 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.7415, allocations: 47.16 kB / 0.8732 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 2.144e-06/0.7415, allocations: 0 / 0.8732 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=41): time 0.008085/0.7496, allocations: 2.399 MB / 0.8756 GB, free: 8.203 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.7497, allocations: 59.19 kB / 0.8756 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.7507, allocations: 0.7941 MB / 0.8764 GB, free: 7.332 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.7507, allocations: 37.7 kB / 0.8764 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/0.7511, allocations: 456.5 kB / 0.8769 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.7513, allocations: 154.6 kB / 0.877 GB, free: 6.688 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.7515, allocations: 106.2 kB / 0.8771 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.7516, allocations: 326 kB / 0.8774 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008041/0.7524, allocations: 300.9 kB / 0.8777 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000904/0.7534, allocations: 421.8 kB / 0.8781 GB, free: 5.508 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.005419/0.7588, allocations: 1.872 MB / 0.8799 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.7588, allocations: 7.938 kB / 0.8799 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003343/0.7622, allocations: 1.043 MB / 0.881 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.7622, allocations: 4 kB / 0.881 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.7622, allocations: 5.125 kB / 0.881 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006425/0.7629, allocations: 188.7 kB / 0.8811 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007167/0.7636, allocations: 143.8 kB / 0.8813 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004246/0.7678, allocations: 2.239 MB / 0.8835 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009806/0.7688, allocations: 58 kB / 0.8835 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-05/0.7689, allocations: 20 kB / 0.8835 GB, free: 15.73 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: 12 * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005017/0.7694, allocations: 281.5 kB / 0.8838 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002268/0.7697, allocations: 95.38 kB / 0.8839 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.7699, allocations: 96.17 kB / 0.884 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.7699, allocations: 4 kB / 0.884 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.7699, allocations: 4 kB / 0.884 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002936/0.7729, allocations: 0.8989 MB / 0.8849 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005523/0.7784, allocations: 2.09 MB / 0.8869 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.7784, allocations: 4 kB / 0.8869 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006513/0.7791, allocations: 128.2 kB / 0.8871 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005844/0.7797, allocations: 184.7 kB / 0.8872 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/0.7797, allocations: 15.98 kB / 0.8872 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003853/0.7836, allocations: 2.199 MB / 0.8894 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/0.7836, allocations: 4.031 kB / 0.8894 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003966/0.7876, allocations: 1.452 MB / 0.8908 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00047/0.7881, allocations: 240.5 kB / 0.891 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.7882, allocations: 8 kB / 0.891 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008627/0.7891, allocations: 60 kB / 0.8911 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.7892, allocations: 39.83 kB / 0.8911 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.137e-05/0.7893, allocations: 31.98 kB / 0.8912 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007994/0.7901, allocations: 0.5536 MB / 0.8917 GB, free: 7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7901, allocations: 0 / 0.8917 GB, free: 7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000875/0.791, allocations: 275.9 kB / 0.892 GB, free: 6.73 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004849/0.7959, allocations: 2.092 MB / 0.894 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002155/0.798, allocations: 0.809 MB / 0.8948 GB, free: 3.766 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.7981, allocations: 7.938 kB / 0.8948 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.7991, allocations: 459.6 kB / 0.8953 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/0.8019, allocations: 0.5337 MB / 0.8958 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/0.819, allocations: 7.684 MB / 0.9033 GB, free: 10.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008361/0.8199, allocations: 1.04 MB / 0.9043 GB, free: 9.738 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007887/0.8207, allocations: 199.2 kB / 0.9045 GB, free: 9.539 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004979/0.8212, allocations: 319.3 kB / 0.9048 GB, free: 9.227 MB / 0.67 GB Notification: Performance of SimCode: time 4.51e-07/0.8212, allocations: 0 / 0.9048 GB, free: 9.227 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06675/0.888, allocations: 27.88 MB / 0.932 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.26, allocations: 6.094 kB / 0.932 GB, free: 13.77 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_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_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)