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.0081/0.0081, allocations: 98.8 kB / 15.73 MB, free: 6.035 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.001928/0.001929, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.92/0.92, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 59.91 kB / 0.5852 GB, free: 3.797 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3804, allocations: 80.91 MB / 0.6642 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.197/0.5774, allocations: 190.6 MB / 0.8503 GB, free: 2.297 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01175/0.5892, allocations: 5.721 MB / 0.8559 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.5908, allocations: 39.75 kB / 0.8559 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00234/0.5932, allocations: 0.5942 MB / 0.8565 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006365/0.5996, allocations: 1.684 MB / 0.8582 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004934/0.6046, allocations: 1.215 MB / 0.8593 GB, free: 9.027 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004552/0.6091, allocations: 2.581 MB / 0.8619 GB, free: 6.441 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.6107, allocations: 0.8784 MB / 0.8627 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/0.6139, allocations: 1.094 MB / 0.8638 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002646/0.6166, allocations: 0.8069 MB / 0.8646 GB, free: 3.648 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003772/0.617, allocations: 99.98 kB / 0.8647 GB, free: 3.551 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005089/0.6221, allocations: 1.547 MB / 0.8662 GB, free: 2 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001052/0.6232, allocations: 402.9 kB / 0.8666 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001484/0.6247, allocations: 0.5872 MB / 0.8671 GB, free: 1.016 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.4251/1.05, allocations: 2.026 MB / 0.8691 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.05, allocations: 1.781 kB / 0.8691 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.383e-06/1.05, allocations: 0 / 0.8691 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.689e-05/1.05, allocations: 0 / 0.8691 GB, free: 8.543 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002341/1.052, allocations: 1.469 MB / 0.8706 GB, free: 7.746 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/1.052, allocations: 9.812 kB / 0.8706 GB, free: 7.746 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/1.052, allocations: 123.6 kB / 0.8707 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002682/1.055, allocations: 420.2 kB / 0.8711 GB, free: 7.648 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/1.057, allocations: 0.8135 MB / 0.8719 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.516e-05/1.057, allocations: 57.94 kB / 0.8719 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/1.057, allocations: 74 kB / 0.872 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/1.059, allocations: 0.9842 MB / 0.873 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/1.059, allocations: 1.781 kB / 0.873 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.35e-05/1.059, allocations: 34.75 kB / 0.873 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.666e-05/1.059, allocations: 27.66 kB / 0.873 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/1.061, allocations: 0.8711 MB / 0.8739 GB, free: 7.223 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.005458/1.066, allocations: 3.481 MB / 0.8773 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/1.068, allocations: 0.6033 MB / 0.8779 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007547/1.069, allocations: 338.9 kB / 0.8782 GB, free: 5.902 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/1.069, allocations: 101.7 kB / 0.8783 GB, free: 5.809 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/1.069, allocations: 40.78 kB / 0.8783 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=39): time 1.994e-06/1.069, allocations: 1.031 kB / 0.8783 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of matching and sorting (n=41): time 0.008189/1.077, allocations: 2.409 MB / 0.8807 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/1.077, allocations: 55.47 kB / 0.8807 GB, free: 5.145 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00095/1.078, allocations: 0.7933 MB / 0.8815 GB, free: 5.02 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/1.078, allocations: 37.39 kB / 0.8815 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000237/1.078, allocations: 460.8 kB / 0.882 GB, free: 4.785 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/1.079, allocations: 151.4 kB / 0.8821 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/1.079, allocations: 110.5 kB / 0.8822 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.803e-05/1.079, allocations: 328.7 kB / 0.8825 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007383/1.08, allocations: 305.5 kB / 0.8828 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000798/1.08, allocations: 420.2 kB / 0.8832 GB, free: 4.25 MB / 0.6856 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.005018/1.085, allocations: 1.872 MB / 0.8851 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/1.085, allocations: 0.9062 kB / 0.8851 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00304/1.088, allocations: 1.036 MB / 0.8861 GB, free: 3.93 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/1.089, allocations: 6.812 kB / 0.8861 GB, free: 3.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.089, allocations: 3.531 kB / 0.8861 GB, free: 3.93 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005875/1.089, allocations: 193.1 kB / 0.8863 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007101/1.09, allocations: 147.3 kB / 0.8864 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003915/1.094, allocations: 2.22 MB / 0.8886 GB, free: 18.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/1.095, allocations: 57.55 kB / 0.8886 GB, free: 18.57 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.059e-05/1.095, allocations: 22.75 kB / 0.8887 GB, free: 18.57 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: 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.0005945/1.096, allocations: 282.2 kB / 0.8889 GB, free: 18.45 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/1.096, allocations: 93.58 kB / 0.889 GB, free: 18.4 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/1.096, allocations: 94.81 kB / 0.8891 GB, free: 18.39 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/1.096, allocations: 4.031 kB / 0.8891 GB, free: 18.39 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/1.096, allocations: 1.531 kB / 0.8891 GB, free: 18.39 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002828/1.099, allocations: 0.8986 MB / 0.89 GB, free: 18.21 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005239/1.104, allocations: 2.09 MB / 0.892 GB, free: 17.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.104, allocations: 4.125 kB / 0.892 GB, free: 17.79 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006222/1.105, allocations: 131.8 kB / 0.8922 GB, free: 17.79 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005102/1.105, allocations: 190 kB / 0.8923 GB, free: 17.77 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/1.105, allocations: 14.72 kB / 0.8924 GB, free: 17.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003425/1.109, allocations: 2.188 MB / 0.8945 GB, free: 16.41 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.109, allocations: 6.469 kB / 0.8945 GB, free: 16.41 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003673/1.112, allocations: 1.447 MB / 0.8959 GB, free: 16.11 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004815/1.113, allocations: 239.3 kB / 0.8961 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/1.113, allocations: 16.72 kB / 0.8962 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008398/1.114, allocations: 66.97 kB / 0.8962 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.095e-05/1.114, allocations: 38.86 kB / 0.8963 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.685e-05/1.114, allocations: 31.61 kB / 0.8963 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007044/1.115, allocations: 0.5489 MB / 0.8968 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/1.115, allocations: 3.094 kB / 0.8968 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009775/1.116, allocations: 273 kB / 0.8971 GB, free: 15.86 MB / 0.7012 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.003956/1.12, allocations: 2.094 MB / 0.8991 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001799/1.122, allocations: 0.8008 MB / 0.8999 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.122, allocations: 0 / 0.8999 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008202/1.122, allocations: 467.1 kB / 0.9004 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/1.125, allocations: 0.5462 MB / 0.9009 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/1.138, allocations: 7.675 MB / 0.9084 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/1.138, allocations: 1.046 MB / 0.9094 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000654/1.139, allocations: 205.7 kB / 0.9096 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/1.139, allocations: 322.2 kB / 0.9099 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of SimCode: time 4.91e-07/1.139, allocations: 0 / 0.9099 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05168/1.191, allocations: 27.88 MB / 0.9371 GB, free: 3.5 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/13.17, allocations: 12.84 kB / 0.9371 GB, free: 3.492 MB / 0.7012 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)