Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",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.005402/0.005402, allocations: 100.3 kB / 15.73 MB, free: 6.484 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.001057/0.001057, allocations: 189 kB / 16.68 MB, free: 6.367 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7277/0.7277, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.88 kB / 0.5809 GB, free: 1.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1415, allocations: 80.21 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.5225/0.664, allocations: 221.1 MB / 0.8751 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007351/0.6714, allocations: 5.702 MB / 0.8807 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.6725, allocations: 41.97 kB / 0.8807 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.6738, allocations: 0.5911 MB / 0.8813 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00328/0.6771, allocations: 1.689 MB / 0.883 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.6797, allocations: 1.223 MB / 0.8841 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002508/0.6823, allocations: 2.564 MB / 0.8867 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000958/0.6832, allocations: 0.8944 MB / 0.8875 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0015/0.6848, allocations: 1.097 MB / 0.8886 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.6863, allocations: 0.8317 MB / 0.8894 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.6864, allocations: 95.97 kB / 0.8895 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.6889, allocations: 1.553 MB / 0.891 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003286/0.6892, allocations: 405.6 kB / 0.8914 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005108/0.6898, allocations: 0.5814 MB / 0.892 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.692, allocations: 2.025 MB / 0.894 GB, free: 496 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.692, allocations: 0 / 0.894 GB, free: 496 kB / 0.6387 GB Notification: Performance of FrontEnd: time 1.533e-06/0.692, allocations: 4.688 kB / 0.894 GB, free: 492 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.684e-05/0.6921, allocations: 0 / 0.894 GB, free: 492 kB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002063/0.6941, allocations: 1.463 MB / 0.8954 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.6942, allocations: 9.109 kB / 0.8954 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.6943, allocations: 126.8 kB / 0.8955 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/0.6969, allocations: 414.7 kB / 0.8959 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.6983, allocations: 0.8141 MB / 0.8967 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-05/0.6984, allocations: 60.44 kB / 0.8968 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.6985, allocations: 75.22 kB / 0.8968 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.7002, allocations: 0.9849 MB / 0.8978 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.7003, allocations: 0 / 0.8978 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.089e-05/0.7004, allocations: 33.72 kB / 0.8978 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.375e-05/0.7004, allocations: 39.53 kB / 0.8979 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.7023, allocations: 0.8758 MB / 0.8987 GB, free: 14.18 MB / 0.6544 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.005482/0.7078, allocations: 3.468 MB / 0.9021 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.7093, allocations: 0.6091 MB / 0.9027 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007407/0.71, allocations: 341 kB / 0.903 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001822/0.7102, allocations: 102 kB / 0.9031 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.7103, allocations: 49.66 kB / 0.9032 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 2.415e-06/0.7103, allocations: 3.938 kB / 0.9032 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=41): time 0.004957/0.7153, allocations: 1.905 MB / 0.905 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.7153, allocations: 57.72 kB / 0.9051 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008847/0.7162, allocations: 0.7776 MB / 0.9059 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.7163, allocations: 38.95 kB / 0.9059 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.7166, allocations: 461.5 kB / 0.9063 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.7168, allocations: 151.4 kB / 0.9065 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.717, allocations: 108.1 kB / 0.9066 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.7171, allocations: 334.6 kB / 0.9069 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007645/0.7179, allocations: 311 kB / 0.9072 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008755/0.7187, allocations: 437.3 kB / 0.9076 GB, free: 8.668 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.005212/0.724, allocations: 1.918 MB / 0.9095 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.724, allocations: 1.188 kB / 0.9095 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002079/0.7261, allocations: 0.8492 MB / 0.9103 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.7261, allocations: 8.781 kB / 0.9103 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.7261, allocations: 4.875 kB / 0.9103 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.7262, allocations: 6.438 kB / 0.9103 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008248/0.727, allocations: 175.4 kB / 0.9105 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.727, allocations: 8.906 kB / 0.9105 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.728, allocations: 51.8 kB / 0.9106 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.262e-05/0.7281, allocations: 27.7 kB / 0.9106 GB, free: 7.137 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: 14 * 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 (65): * Single equations (assignments): 65 * 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.0004696/0.7286, allocations: 283.6 kB / 0.9109 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.7288, allocations: 93.41 kB / 0.9109 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.7289, allocations: 91.48 kB / 0.911 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.729, allocations: 4.938 kB / 0.911 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.729, allocations: 0 / 0.911 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001522/0.7305, allocations: 0.691 MB / 0.9117 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003925/0.7344, allocations: 1.899 MB / 0.9136 GB, free: 5.117 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.7345, allocations: 2.438 kB / 0.9136 GB, free: 5.117 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007358/0.7352, allocations: 152.3 kB / 0.9137 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.7352, allocations: 10.73 kB / 0.9137 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/0.7353, allocations: 20.69 kB / 0.9137 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.7353, allocations: 4.125 kB / 0.9137 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.7353, allocations: 6.062 kB / 0.9137 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/0.7379, allocations: 1.244 MB / 0.915 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004867/0.7384, allocations: 236.5 kB / 0.9152 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.7385, allocations: 15.94 kB / 0.9152 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008142/0.7394, allocations: 56.66 kB / 0.9153 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/0.7395, allocations: 37.11 kB / 0.9153 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.41e-05/0.7395, allocations: 31.98 kB / 0.9153 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007199/0.7403, allocations: 0.5458 MB / 0.9159 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7403, allocations: 0 / 0.9159 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007912/0.7411, allocations: 247.9 kB / 0.9161 GB, free: 3.078 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 (41): * Single equations (assignments): 41 * 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.003065/0.7441, allocations: 1.91 MB / 0.918 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001699/0.7458, allocations: 0.694 MB / 0.9186 GB, free: 464 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.7459, allocations: 3.938 kB / 0.9186 GB, free: 460 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007994/0.7467, allocations: 334.4 kB / 0.919 GB, free: 140 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/0.749, allocations: 0.5143 MB / 0.9195 GB, free: 15.65 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.7608, allocations: 7.191 MB / 0.9265 GB, free: 8.215 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/0.7614, allocations: 1.04 MB / 0.9275 GB, free: 7.148 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000761/0.7621, allocations: 229.6 kB / 0.9277 GB, free: 6.922 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004717/0.7626, allocations: 319.3 kB / 0.928 GB, free: 6.609 MB / 0.67 GB Notification: Performance of SimCode: time 5.81e-07/0.7626, allocations: 0 / 0.928 GB, free: 6.609 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04949/0.8121, allocations: 25.58 MB / 0.953 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.647/9.46, allocations: 8.422 kB / 0.953 GB, free: 13.55 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_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_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)