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.007481/0.007482, allocations: 101.8 kB / 15.73 MB, free: 6.062 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.001588/0.001588, allocations: 192.2 kB / 16.67 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8238/0.8238, allocations: 135.6 MB / 426.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 73.28 kB / 0.5858 GB, free: 21.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1569, allocations: 81.01 MB / 0.6649 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.5118/0.6687, allocations: 190.6 MB / 0.851 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008973/0.6778, allocations: 5.714 MB / 0.8566 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009451/0.6787, allocations: 44.97 kB / 0.8566 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.6801, allocations: 0.5703 MB / 0.8572 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003585/0.6837, allocations: 1.617 MB / 0.8588 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0028/0.6866, allocations: 1.219 MB / 0.86 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002954/0.6895, allocations: 2.563 MB / 0.8625 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.6907, allocations: 0.887 MB / 0.8633 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.6926, allocations: 1.047 MB / 0.8643 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.6942, allocations: 0.8108 MB / 0.8651 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.6944, allocations: 96 kB / 0.8652 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003023/0.6974, allocations: 1.543 MB / 0.8667 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004528/0.6979, allocations: 402.9 kB / 0.8671 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007097/0.6986, allocations: 0.5911 MB / 0.8677 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003185/0.7018, allocations: 2.026 MB / 0.8697 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.7018, allocations: 8 kB / 0.8697 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7018, allocations: 0 / 0.8697 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.58e-05/0.7019, allocations: 0 / 0.8697 GB, free: 12.78 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002386/0.7043, allocations: 1.467 MB / 0.8711 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.7043, allocations: 9.109 kB / 0.8711 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001544/0.7045, allocations: 122.6 kB / 0.8712 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002558/0.707, allocations: 426.8 kB / 0.8717 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.7085, allocations: 0.8123 MB / 0.8724 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.725e-05/0.7085, allocations: 57.94 kB / 0.8725 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.7087, allocations: 76 kB / 0.8726 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.7106, allocations: 0.9827 MB / 0.8735 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.7106, allocations: 0 / 0.8735 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.745e-05/0.7107, allocations: 32 kB / 0.8736 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.741e-05/0.7107, allocations: 26 kB / 0.8736 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/0.7127, allocations: 0.8743 MB / 0.8744 GB, free: 7.781 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.005928/0.7187, allocations: 3.472 MB / 0.8778 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.7203, allocations: 0.6086 MB / 0.8784 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000774/0.721, allocations: 333.3 kB / 0.8787 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000192/0.7212, allocations: 101.4 kB / 0.8788 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.7213, allocations: 39.22 kB / 0.8789 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 1.763e-06/0.7213, allocations: 0 / 0.8789 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of matching and sorting (n=41): time 0.007956/0.7293, allocations: 2.407 MB / 0.8812 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.7293, allocations: 63.19 kB / 0.8813 GB, free: 468 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.7304, allocations: 0.794 MB / 0.8821 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.521e-05/0.7304, allocations: 37.7 kB / 0.8821 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000368/0.7308, allocations: 452.5 kB / 0.8825 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.731, allocations: 158.7 kB / 0.8827 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/0.7312, allocations: 106.2 kB / 0.8828 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.7313, allocations: 322 kB / 0.8831 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008055/0.7321, allocations: 304.9 kB / 0.8834 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008839/0.733, allocations: 422.5 kB / 0.8838 GB, free: 13.83 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.00532/0.7384, allocations: 1.867 MB / 0.8856 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.7384, allocations: 11.94 kB / 0.8856 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003186/0.7416, allocations: 1.027 MB / 0.8866 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.7416, allocations: 11.94 kB / 0.8866 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.7416, allocations: 4 kB / 0.8866 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005986/0.7422, allocations: 189.7 kB / 0.8868 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006791/0.7429, allocations: 143.7 kB / 0.887 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004034/0.747, allocations: 2.242 MB / 0.8891 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008914/0.7479, allocations: 48.02 kB / 0.8892 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.644e-05/0.7479, allocations: 23.98 kB / 0.8892 GB, free: 8.062 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.000443/0.7484, allocations: 281.5 kB / 0.8895 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.7485, allocations: 87.48 kB / 0.8896 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.7487, allocations: 100.2 kB / 0.8897 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.7488, allocations: 7.938 kB / 0.8897 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.7488, allocations: 0 / 0.8897 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002803/0.7516, allocations: 0.891 MB / 0.8905 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005124/0.7567, allocations: 2.099 MB / 0.8926 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.7567, allocations: 8.078 kB / 0.8926 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006481/0.7574, allocations: 128 kB / 0.8927 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005825/0.758, allocations: 196.6 kB / 0.8929 GB, free: 4.129 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.758, allocations: 11.98 kB / 0.8929 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003793/0.7618, allocations: 2.191 MB / 0.8951 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-06/0.7618, allocations: 7.984 kB / 0.8951 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003892/0.7657, allocations: 1.449 MB / 0.8965 GB, free: 276 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004161/0.7662, allocations: 244.4 kB / 0.8967 GB, free: 12 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.7663, allocations: 8 kB / 0.8967 GB, free: 4 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008026/0.7671, allocations: 60 kB / 0.8968 GB, free: 15.95 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.362e-05/0.7672, allocations: 36.03 kB / 0.8968 GB, free: 15.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.118e-05/0.7673, allocations: 35.97 kB / 0.8968 GB, free: 15.88 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007435/0.768, allocations: 0.5576 MB / 0.8974 GB, free: 15.32 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.768, allocations: 0 / 0.8974 GB, free: 15.32 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008467/0.7689, allocations: 275.9 kB / 0.8977 GB, free: 15.05 MB / 0.67 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.004541/0.7734, allocations: 2.085 MB / 0.8997 GB, free: 12.91 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002079/0.7755, allocations: 0.8095 MB / 0.9005 GB, free: 12.09 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.628e-05/0.7756, allocations: 7.938 kB / 0.9005 GB, free: 12.08 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000968/0.7765, allocations: 451.1 kB / 0.9009 GB, free: 11.62 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/0.7789, allocations: 0.5462 MB / 0.9015 GB, free: 11.09 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/0.7946, allocations: 7.67 MB / 0.9089 GB, free: 3.133 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007454/0.7954, allocations: 1.048 MB / 0.91 GB, free: 2.059 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000763/0.7961, allocations: 199.2 kB / 0.9102 GB, free: 1.859 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004666/0.7966, allocations: 315.3 kB / 0.9105 GB, free: 1.551 MB / 0.67 GB Notification: Performance of SimCode: time 5.11e-07/0.7966, allocations: 0 / 0.9105 GB, free: 1.551 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0636/0.8602, allocations: 27.89 MB / 0.9377 GB, free: 6.098 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.55, allocations: 10.55 kB / 0.9377 GB, free: 6.09 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)