Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.007055/0.007055, allocations: 95.44 kB / 15.73 MB, free: 6.051 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.001838/0.001838, allocations: 199.7 kB / 16.68 MB, free: 5.973 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9341/0.9341, allocations: 135.5 MB / 426.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 63.89 kB / 0.5858 GB, free: 3.156 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3505, allocations: 81.02 MB / 0.6649 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2058/0.5563, allocations: 190.5 MB / 0.8509 GB, free: 1.711 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009012/0.5653, allocations: 5.687 MB / 0.8565 GB, free: 12 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009024/0.5663, allocations: 43.75 kB / 0.8565 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.5677, allocations: 0.563 MB / 0.8571 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003583/0.5713, allocations: 1.606 MB / 0.8586 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002893/0.5742, allocations: 1.21 MB / 0.8598 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003078/0.5773, allocations: 2.562 MB / 0.8623 GB, free: 6.016 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.5786, allocations: 1.036 MB / 0.8633 GB, free: 4.961 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0016/0.5802, allocations: 1.054 MB / 0.8643 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/0.5819, allocations: 0.8537 MB / 0.8652 GB, free: 3.051 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.5821, allocations: 108 kB / 0.8653 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.5849, allocations: 1.559 MB / 0.8668 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005205/0.5854, allocations: 0.4948 MB / 0.8673 GB, free: 0.8867 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007123/0.5861, allocations: 0.6456 MB / 0.8679 GB, free: 244 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.3368/0.9229, allocations: 2.182 MB / 0.8701 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.923, allocations: 0 / 0.8701 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.683e-06/0.923, allocations: 0 / 0.8701 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.923, allocations: 0.9062 kB / 0.8701 GB, free: 6.629 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.00233/0.9253, allocations: 1.558 MB / 0.8716 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.9254, allocations: 10.73 kB / 0.8716 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001732/0.9255, allocations: 145.9 kB / 0.8717 GB, free: 5.762 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002852/0.9284, allocations: 476 kB / 0.8722 GB, free: 5.695 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.9297, allocations: 0.8653 MB / 0.873 GB, free: 5.367 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.007e-05/0.9298, allocations: 67.62 kB / 0.8731 GB, free: 5.363 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.93, allocations: 83.38 kB / 0.8732 GB, free: 5.363 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.932, allocations: 1.174 MB / 0.8743 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.9321, allocations: 0 / 0.8743 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.793e-05/0.9322, allocations: 39.94 kB / 0.8743 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-05/0.9322, allocations: 35.41 kB / 0.8744 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002348/0.9346, allocations: 1.063 MB / 0.8754 GB, free: 5.258 MB / 0.6856 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.006169/0.9408, allocations: 4.312 MB / 0.8796 GB, free: 19.47 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/0.9428, allocations: 0.7379 MB / 0.8804 GB, free: 19.45 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009459/0.9437, allocations: 406.2 kB / 0.8807 GB, free: 19.44 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000179/0.9439, allocations: 101.4 kB / 0.8808 GB, free: 19.35 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.944, allocations: 43.94 kB / 0.8809 GB, free: 19.31 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=43): time 2.074e-06/0.944, allocations: 0.5625 kB / 0.8809 GB, free: 19.31 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45): time 0.005669/0.9496, allocations: 2.193 MB / 0.883 GB, free: 18.83 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.9497, allocations: 63.41 kB / 0.8831 GB, free: 18.77 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.9508, allocations: 0.8611 MB / 0.8839 GB, free: 18.64 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.57e-05/0.9509, allocations: 36.86 kB / 0.884 GB, free: 18.61 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/0.9512, allocations: 0.4966 MB / 0.8844 GB, free: 18.39 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.9513, allocations: 174.9 kB / 0.8846 GB, free: 18.28 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.9515, allocations: 121.3 kB / 0.8847 GB, free: 18.26 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.9516, allocations: 326.2 kB / 0.885 GB, free: 17.95 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009143/0.9526, allocations: 371.3 kB / 0.8854 GB, free: 17.95 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009773/0.9536, allocations: 0.512 MB / 0.8859 GB, free: 17.8 MB / 0.7012 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.005973/0.9595, allocations: 2.253 MB / 0.8881 GB, free: 17.54 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.9596, allocations: 2.062 kB / 0.8881 GB, free: 17.54 MB / 0.7012 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002388/0.962, allocations: 0.9849 MB / 0.8891 GB, free: 17.45 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.962, allocations: 9.031 kB / 0.8891 GB, free: 17.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.962, allocations: 5.062 kB / 0.8891 GB, free: 17.45 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.962, allocations: 10.59 kB / 0.8891 GB, free: 17.45 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009426/0.963, allocations: 197.2 kB / 0.8893 GB, free: 17.45 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.963, allocations: 11.02 kB / 0.8893 GB, free: 17.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.9641, allocations: 67.56 kB / 0.8893 GB, free: 17.45 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/0.9642, allocations: 27.81 kB / 0.8894 GB, free: 17.45 MB / 0.7012 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: 17 * 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 (73): * Single equations (assignments): 73 * 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.0005494/0.9647, allocations: 312.7 kB / 0.8897 GB, free: 17.33 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.9649, allocations: 99.23 kB / 0.8898 GB, free: 17.28 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.9651, allocations: 113.7 kB / 0.8899 GB, free: 17.26 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.9651, allocations: 5.125 kB / 0.8899 GB, free: 17.26 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.9651, allocations: 3.719 kB / 0.8899 GB, free: 17.26 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001928/0.9671, allocations: 1.023 MB / 0.8909 GB, free: 16.81 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004214/0.9713, allocations: 2.143 MB / 0.893 GB, free: 16.39 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.9713, allocations: 3.531 kB / 0.893 GB, free: 16.39 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008479/0.9721, allocations: 169 kB / 0.8931 GB, free: 16.39 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.9722, allocations: 6.719 kB / 0.8931 GB, free: 16.39 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.783e-05/0.9722, allocations: 20.83 kB / 0.8932 GB, free: 16.39 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.9722, allocations: 10.22 kB / 0.8932 GB, free: 16.38 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.9722, allocations: 7.625 kB / 0.8932 GB, free: 16.38 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003023/0.9753, allocations: 1.437 MB / 0.8946 GB, free: 16.09 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004533/0.9757, allocations: 252.7 kB / 0.8948 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.9759, allocations: 17.5 kB / 0.8948 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008698/0.9768, allocations: 76.11 kB / 0.8949 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.841e-05/0.9768, allocations: 35.34 kB / 0.8949 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.766e-05/0.9769, allocations: 34.22 kB / 0.895 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006543/0.9776, allocations: 0.6007 MB / 0.8956 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7.11e-07/0.9776, allocations: 0.8438 kB / 0.8956 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008442/0.9784, allocations: 271 kB / 0.8958 GB, free: 15.85 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[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 (45): * Single equations (assignments): 45 * 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.003431/0.9819, allocations: 2.086 MB / 0.8979 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001849/0.9837, allocations: 0.8196 MB / 0.8987 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.9837, allocations: 3.438 kB / 0.8987 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000831/0.9846, allocations: 391.6 kB / 0.899 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.9869, allocations: 0.5919 MB / 0.8996 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.999, allocations: 8.195 MB / 0.9076 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006825/0.9997, allocations: 1.119 MB / 0.9087 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000912/1.001, allocations: 263.3 kB / 0.909 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004641/1.001, allocations: 355.6 kB / 0.9093 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of SimCode: time 6.51e-07/1.001, allocations: 0 / 0.9093 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1194/1.12, allocations: 28.76 MB / 0.9374 GB, free: 3.176 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.361/10.48, allocations: 4.188 kB / 0.9374 GB, free: 3.168 MB / 0.7012 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_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_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)