Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_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.006931/0.006931, allocations: 99.86 kB / 15.73 MB, free: 6.004 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.001607/0.001607, allocations: 191 kB / 16.67 MB, free: 5.934 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.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7516/0.7516, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 67.89 kB / 0.5809 GB, free: 8.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3722, allocations: 80.21 MB / 0.6592 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.1915/0.5637, allocations: 190.6 MB / 0.8453 GB, free: 6.902 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.00872/0.5725, allocations: 5.708 MB / 0.8509 GB, free: 1.18 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.5736, allocations: 43.75 kB / 0.851 GB, free: 1.137 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.575, allocations: 0.5903 MB / 0.8515 GB, free: 0.543 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003626/0.5787, allocations: 1.678 MB / 0.8532 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.5815, allocations: 1.218 MB / 0.8544 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002748/0.5843, allocations: 2.581 MB / 0.8569 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.5853, allocations: 0.8901 MB / 0.8578 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.5869, allocations: 1.09 MB / 0.8588 GB, free: 9.066 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/0.5883, allocations: 0.804 MB / 0.8596 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.5885, allocations: 96 kB / 0.8597 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002567/0.5911, allocations: 1.555 MB / 0.8612 GB, free: 6.613 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003675/0.5914, allocations: 402.9 kB / 0.8616 GB, free: 6.219 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005941/0.592, allocations: 0.5872 MB / 0.8622 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002467/0.5945, allocations: 2.031 MB / 0.8642 GB, free: 3.594 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.5945, allocations: 0 / 0.8642 GB, free: 3.594 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5945, allocations: 0 / 0.8642 GB, free: 3.594 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.5946, allocations: 0 / 0.8642 GB, free: 3.594 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.002201/0.5968, allocations: 1.473 MB / 0.8656 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.5968, allocations: 8.031 kB / 0.8656 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.597, allocations: 126.6 kB / 0.8657 GB, free: 1.926 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002593/0.5996, allocations: 422.8 kB / 0.8661 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.601, allocations: 0.8123 MB / 0.8669 GB, free: 0.6602 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.946e-05/0.601, allocations: 58 kB / 0.867 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.6011, allocations: 72 kB / 0.867 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2865/0.8877, allocations: 0.9836 MB / 0.868 GB, free: 196.5 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.098e-05/0.8877, allocations: 1.469 kB / 0.868 GB, free: 196.5 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/0.8879, allocations: 30.06 kB / 0.868 GB, free: 196.5 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.243e-05/0.888, allocations: 33.03 kB / 0.8681 GB, free: 196.5 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002451/0.8905, allocations: 0.8702 MB / 0.8689 GB, free: 196.3 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.006993/0.8975, allocations: 3.474 MB / 0.8723 GB, free: 194.3 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.8991, allocations: 0.6024 MB / 0.8729 GB, free: 194.1 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008151/0.9, allocations: 334 kB / 0.8732 GB, free: 194.1 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.9001, allocations: 101.9 kB / 0.8733 GB, free: 194 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.9002, allocations: 40.83 kB / 0.8733 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=39): time 2.084e-06/0.9002, allocations: 0.8125 kB / 0.8733 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=41): time 0.008259/0.9084, allocations: 2.413 MB / 0.8757 GB, free: 193 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.9085, allocations: 60.06 kB / 0.8758 GB, free: 192.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009846/0.9095, allocations: 0.7939 MB / 0.8765 GB, free: 192.6 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.11e-05/0.9096, allocations: 39.45 kB / 0.8766 GB, free: 192.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.9098, allocations: 452.5 kB / 0.877 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.9099, allocations: 152.9 kB / 0.8772 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.9102, allocations: 109.7 kB / 0.8773 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.227e-05/0.9102, allocations: 326.2 kB / 0.8776 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008382/0.9111, allocations: 307.1 kB / 0.8779 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008854/0.912, allocations: 419.3 kB / 0.8783 GB, free: 191.4 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.004968/0.9169, allocations: 1.863 MB / 0.8801 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.917, allocations: 5.312 kB / 0.8801 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002963/0.9199, allocations: 1.035 MB / 0.8811 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.92, allocations: 7.891 kB / 0.8811 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.92, allocations: 2.562 kB / 0.8811 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000549/0.9205, allocations: 193.8 kB / 0.8813 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006568/0.9212, allocations: 146 kB / 0.8814 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003338/0.9245, allocations: 2.233 MB / 0.8836 GB, free: 187.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00094/0.9255, allocations: 51.03 kB / 0.8837 GB, free: 187.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/0.9256, allocations: 20.81 kB / 0.8837 GB, free: 187.8 MB / 0.6856 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.0003918/0.9259, allocations: 273.6 kB / 0.8839 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.9261, allocations: 96.45 kB / 0.884 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.9263, allocations: 92.28 kB / 0.8841 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.9263, allocations: 3.781 kB / 0.8841 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.9263, allocations: 5.281 kB / 0.8841 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002635/0.9289, allocations: 0.8944 MB / 0.885 GB, free: 187 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004715/0.9337, allocations: 2.108 MB / 0.8871 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.9337, allocations: 4 kB / 0.8871 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/0.9343, allocations: 129.5 kB / 0.8872 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005135/0.9348, allocations: 187.5 kB / 0.8874 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.9349, allocations: 10.69 kB / 0.8874 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003066/0.9379, allocations: 2.195 MB / 0.8895 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.938, allocations: 7.75 kB / 0.8895 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003553/0.9415, allocations: 1.444 MB / 0.8909 GB, free: 182.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004288/0.942, allocations: 238.8 kB / 0.8912 GB, free: 182.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.9421, allocations: 13.89 kB / 0.8912 GB, free: 182.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008232/0.9429, allocations: 59.73 kB / 0.8912 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.777e-05/0.943, allocations: 43.86 kB / 0.8913 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.464e-05/0.9431, allocations: 30.28 kB / 0.8913 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006647/0.9437, allocations: 0.5528 MB / 0.8918 GB, free: 182.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9438, allocations: 1.656 kB / 0.8919 GB, free: 182.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008703/0.9446, allocations: 268.5 kB / 0.8921 GB, free: 182.1 MB / 0.6856 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.003986/0.9486, allocations: 2.092 MB / 0.8941 GB, free: 180.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001853/0.9505, allocations: 0.8027 MB / 0.8949 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.9505, allocations: 1.688 kB / 0.8949 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008358/0.9513, allocations: 472.9 kB / 0.8954 GB, free: 179.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/0.9536, allocations: 0.5416 MB / 0.8959 GB, free: 179.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/0.9669, allocations: 7.673 MB / 0.9034 GB, free: 174.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.9674, allocations: 1.042 MB / 0.9044 GB, free: 174.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000792/0.9682, allocations: 206.7 kB / 0.9046 GB, free: 174 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/0.9686, allocations: 317.4 kB / 0.9049 GB, free: 173.7 MB / 0.6856 GB Notification: Performance of SimCode: time 7.41e-07/0.9686, allocations: 4 kB / 0.9049 GB, free: 173.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04419/1.013, allocations: 27.88 MB / 0.9322 GB, free: 150.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/13.12, allocations: 3.938 kB / 0.9322 GB, free: 150.1 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)