Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_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.001103/0.001103, 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.001138/0.001138, allocations: 195.3 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9133/0.9133, allocations: 135.1 MB / 425.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.7 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1357, allocations: 80.92 MB / 0.5845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.4074/0.5431, allocations: 190.6 MB / 0.7706 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008235/0.5514, allocations: 5.722 MB / 0.7762 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007362/0.5521, allocations: 39.75 kB / 0.7762 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.5534, allocations: 0.5747 MB / 0.7767 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003133/0.5565, allocations: 1.614 MB / 0.7783 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.5591, allocations: 1.202 MB / 0.7795 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002414/0.5615, allocations: 2.573 MB / 0.782 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.5625, allocations: 0.8817 MB / 0.7829 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.564, allocations: 1.039 MB / 0.7839 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.5654, allocations: 0.8117 MB / 0.7847 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.5656, allocations: 96 kB / 0.7848 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/0.5682, allocations: 1.54 MB / 0.7863 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003888/0.5686, allocations: 406.9 kB / 0.7867 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005975/0.5692, allocations: 0.5872 MB / 0.7872 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002304/0.5715, allocations: 2.01 MB / 0.7892 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.5715, allocations: 0 / 0.7892 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5715, allocations: 0 / 0.7892 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.552e-05/0.5716, allocations: 0 / 0.7892 GB, free: 11.15 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002266/0.5738, allocations: 1.441 MB / 0.7906 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.5739, allocations: 8.031 kB / 0.7906 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001477/0.574, allocations: 128.8 kB / 0.7907 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002645/0.5767, allocations: 418.3 kB / 0.7911 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.578, allocations: 0.7648 MB / 0.7919 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003578/0.5783, allocations: 117.9 kB / 0.792 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.5785, allocations: 76 kB / 0.7921 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.5803, allocations: 0.9867 MB / 0.793 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.5803, allocations: 0 / 0.793 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.994e-05/0.5804, allocations: 39.98 kB / 0.7931 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.5804, allocations: 29.94 kB / 0.7931 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/0.5824, allocations: 0.8783 MB / 0.794 GB, free: 6.156 MB / 0.6075 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.005604/0.588, allocations: 3.521 MB / 0.7974 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.5897, allocations: 0.6165 MB / 0.798 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007952/0.5905, allocations: 348.4 kB / 0.7983 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.5907, allocations: 97.75 kB / 0.7984 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.5907, allocations: 42.56 kB / 0.7985 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.934e-06/0.5908, allocations: 0 / 0.7985 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.008139/0.5989, allocations: 2.41 MB / 0.8008 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.599, allocations: 63.33 kB / 0.8009 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000914/0.5999, allocations: 0.7941 MB / 0.8017 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.59e-05/0.5999, allocations: 33.7 kB / 0.8017 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.6002, allocations: 459.6 kB / 0.8021 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.6004, allocations: 137.9 kB / 0.8023 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.6006, allocations: 106.2 kB / 0.8024 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.6007, allocations: 334 kB / 0.8027 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008234/0.6015, allocations: 304.8 kB / 0.803 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009417/0.6024, allocations: 425.8 kB / 0.8034 GB, free: 12.13 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.005623/0.6081, allocations: 1.898 MB / 0.8052 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.6081, allocations: 7.938 kB / 0.8052 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003417/0.6115, allocations: 1.046 MB / 0.8063 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.6116, allocations: 4 kB / 0.8063 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.6116, allocations: 7.562 kB / 0.8063 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006528/0.6123, allocations: 184.8 kB / 0.8064 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007344/0.613, allocations: 147.8 kB / 0.8066 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004014/0.617, allocations: 2.228 MB / 0.8088 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.6181, allocations: 58.25 kB / 0.8088 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.403e-05/0.6182, allocations: 23.98 kB / 0.8088 GB, free: 6.344 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 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.0004503/0.6186, allocations: 275 kB / 0.8091 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.6188, allocations: 91 kB / 0.8092 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.6191, allocations: 93.8 kB / 0.8093 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.6191, allocations: 4 kB / 0.8093 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.6191, allocations: 0 / 0.8093 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003/0.6221, allocations: 0.9064 MB / 0.8102 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005407/0.6275, allocations: 2.128 MB / 0.8122 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.6275, allocations: 4 kB / 0.8122 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006747/0.6282, allocations: 128.1 kB / 0.8124 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005606/0.6288, allocations: 184.7 kB / 0.8125 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/0.6288, allocations: 19.98 kB / 0.8126 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003593/0.6324, allocations: 2.187 MB / 0.8147 GB, free: 48 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.6325, allocations: 7.984 kB / 0.8147 GB, free: 40 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004043/0.6365, allocations: 1.452 MB / 0.8161 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003817/0.6369, allocations: 236 kB / 0.8163 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.637, allocations: 12 kB / 0.8164 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008981/0.6379, allocations: 60 kB / 0.8164 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.902e-05/0.638, allocations: 47.81 kB / 0.8165 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.666e-05/0.6381, allocations: 35.92 kB / 0.8165 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006933/0.6388, allocations: 0.5498 MB / 0.817 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6388, allocations: 0 / 0.817 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000849/0.6397, allocations: 276 kB / 0.8173 GB, free: 13.31 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 (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.004607/0.6443, allocations: 2.095 MB / 0.8193 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002287/0.6466, allocations: 0.8488 MB / 0.8202 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.6466, allocations: 4 kB / 0.8202 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.6476, allocations: 459.5 kB / 0.8206 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/0.6501, allocations: 0.5502 MB / 0.8212 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/0.6654, allocations: 7.96 MB / 0.8289 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006079/0.666, allocations: 1.048 MB / 0.8299 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000809/0.6668, allocations: 203.2 kB / 0.8301 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004357/0.6673, allocations: 319.3 kB / 0.8304 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of SimCode: time 2.715e-06/0.6673, allocations: 3.938 kB / 0.8304 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05745/0.7248, allocations: 27.69 MB / 0.8575 GB, free: 4.25 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.86, allocations: 15.47 kB / 0.8575 GB, free: 4.238 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)