Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_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.00521/0.00521, allocations: 100.9 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.001226/0.001226, allocations: 196.9 kB / 16.68 MB, free: 5.965 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8136/0.8136, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 63.73 kB / 0.5809 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1322, allocations: 80.2 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5036/0.6359, allocations: 190.5 MB / 0.8452 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008997/0.6449, allocations: 5.693 MB / 0.8508 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.6459, allocations: 40.81 kB / 0.8508 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.6473, allocations: 0.5702 MB / 0.8514 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003491/0.6509, allocations: 1.599 MB / 0.8529 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002805/0.6537, allocations: 1.214 MB / 0.8541 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002753/0.6565, allocations: 2.552 MB / 0.8566 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.6577, allocations: 1.046 MB / 0.8576 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001562/0.6593, allocations: 1.052 MB / 0.8587 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/0.6608, allocations: 0.8492 MB / 0.8595 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.661, allocations: 107.9 kB / 0.8596 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002843/0.6638, allocations: 1.557 MB / 0.8611 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005401/0.6644, allocations: 0.4948 MB / 0.8616 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007117/0.6651, allocations: 0.6339 MB / 0.8622 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002893/0.668, allocations: 2.202 MB / 0.8644 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.668, allocations: 8 kB / 0.8644 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.653e-06/0.668, allocations: 0 / 0.8644 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.668, allocations: 0 / 0.8644 GB, free: 4.078 MB / 0.6231 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.002499/0.6705, allocations: 1.552 MB / 0.8659 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.6706, allocations: 8.031 kB / 0.8659 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001868/0.6708, allocations: 139.3 kB / 0.866 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002908/0.6737, allocations: 474.8 kB / 0.8665 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.6751, allocations: 0.8676 MB / 0.8673 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.881e-05/0.6752, allocations: 69.94 kB / 0.8674 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.6754, allocations: 84 kB / 0.8675 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00221/0.6776, allocations: 1.175 MB / 0.8686 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.6776, allocations: 0 / 0.8686 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.865e-05/0.6777, allocations: 40 kB / 0.8687 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.56e-05/0.6778, allocations: 30 kB / 0.8687 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002433/0.6802, allocations: 1.066 MB / 0.8697 GB, free: 14.46 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.00685/0.6871, allocations: 4.309 MB / 0.8739 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/0.6891, allocations: 0.757 MB / 0.8747 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009674/0.6901, allocations: 396.6 kB / 0.8751 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/0.6903, allocations: 109.1 kB / 0.8752 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.6903, allocations: 38.56 kB / 0.8752 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.6903, allocations: 0 / 0.8752 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.005717/0.696, allocations: 2.197 MB / 0.8773 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.6961, allocations: 55.41 kB / 0.8774 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.6972, allocations: 0.8686 MB / 0.8783 GB, free: 5.371 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.808e-05/0.6972, allocations: 37.7 kB / 0.8783 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.6977, allocations: 0.4924 MB / 0.8788 GB, free: 4.832 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.6978, allocations: 166.6 kB / 0.8789 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.6981, allocations: 126.2 kB / 0.879 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.6982, allocations: 337.9 kB / 0.8794 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009771/0.6992, allocations: 365 kB / 0.8797 GB, free: 3.844 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.7003, allocations: 0.507 MB / 0.8802 GB, free: 3.281 MB / 0.6387 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.006231/0.7066, allocations: 2.253 MB / 0.8824 GB, free: 0.9609 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7066, allocations: 4 kB / 0.8824 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002324/0.7089, allocations: 0.9865 MB / 0.8834 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.7089, allocations: 11.98 kB / 0.8834 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.709, allocations: 4 kB / 0.8834 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.709, allocations: 12.06 kB / 0.8834 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009367/0.7099, allocations: 183.7 kB / 0.8836 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/0.71, allocations: 19.92 kB / 0.8836 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000883/0.7109, allocations: 68.75 kB / 0.8837 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-05/0.7109, allocations: 31.98 kB / 0.8837 GB, free: 15.64 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: 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.0004202/0.7114, allocations: 305.6 kB / 0.884 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.7115, allocations: 99.39 kB / 0.8841 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.7117, allocations: 100.8 kB / 0.8842 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.7118, allocations: 7.938 kB / 0.8842 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.7118, allocations: 4 kB / 0.8842 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00206/0.7138, allocations: 1.022 MB / 0.8852 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004517/0.7184, allocations: 2.139 MB / 0.8873 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.7184, allocations: 8.031 kB / 0.8873 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008722/0.7193, allocations: 167.8 kB / 0.8874 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.7193, allocations: 4 kB / 0.8874 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/0.7193, allocations: 15.98 kB / 0.8875 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/0.7193, allocations: 7.938 kB / 0.8875 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.485e-06/0.7194, allocations: 11.94 kB / 0.8875 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003174/0.7225, allocations: 1.45 MB / 0.8889 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/0.7229, allocations: 260.4 kB / 0.8891 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.7231, allocations: 15.98 kB / 0.8892 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008682/0.7239, allocations: 70.17 kB / 0.8892 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.849e-05/0.724, allocations: 51.81 kB / 0.8893 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-05/0.7241, allocations: 27.98 kB / 0.8893 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007892/0.7249, allocations: 0.6005 MB / 0.8899 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7249, allocations: 0 / 0.8899 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008109/0.7257, allocations: 267.9 kB / 0.8901 GB, free: 8.77 MB / 0.6544 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.003918/0.7297, allocations: 2.105 MB / 0.8922 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002174/0.7319, allocations: 0.8123 MB / 0.893 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.7319, allocations: 4 kB / 0.893 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009764/0.7329, allocations: 388.5 kB / 0.8934 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/0.7354, allocations: 0.5845 MB / 0.8939 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/0.7503, allocations: 8.195 MB / 0.9019 GB, free: 12.34 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008018/0.7511, allocations: 1.106 MB / 0.903 GB, free: 11.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008735/0.752, allocations: 259.8 kB / 0.9033 GB, free: 10.95 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005595/0.7526, allocations: 359.3 kB / 0.9036 GB, free: 10.59 MB / 0.67 GB Notification: Performance of SimCode: time 7.51e-07/0.7526, allocations: 0 / 0.9036 GB, free: 10.59 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06177/0.8144, allocations: 28.75 MB / 0.9317 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.079/9.893, allocations: 14.62 kB / 0.9317 GB, free: 14.25 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)