Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.004582/0.004582, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001244/0.001244, allocations: 189.7 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8004/0.8004, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 67.8 kB / 0.5809 GB, free: 24.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1335, allocations: 80.21 MB / 0.6592 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.5103/0.6438, allocations: 209.9 MB / 0.8642 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01457/0.6585, allocations: 9.839 MB / 0.8738 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.66, allocations: 59.62 kB / 0.8738 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00185/0.6618, allocations: 0.7688 MB / 0.8746 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006356/0.6682, allocations: 2.792 MB / 0.8773 GB, free: 6.902 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003215/0.6715, allocations: 1.385 MB / 0.8787 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00509/0.6766, allocations: 4.067 MB / 0.8826 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/0.6783, allocations: 1.335 MB / 0.8839 GB, free: 88 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.6804, allocations: 1.362 MB / 0.8853 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002282/0.6827, allocations: 1.233 MB / 0.8865 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002457/0.683, allocations: 144 kB / 0.8866 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004588/0.6875, allocations: 2.385 MB / 0.8889 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006602/0.6882, allocations: 0.6039 MB / 0.8895 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009867/0.6892, allocations: 0.8556 MB / 0.8904 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004203/0.6934, allocations: 3.033 MB / 0.8933 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6934, allocations: 3.938 kB / 0.8933 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6934, allocations: 0 / 0.8933 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.776e-05/0.6935, allocations: 0 / 0.8933 GB, free: 6.449 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003023/0.6965, allocations: 1.949 MB / 0.8952 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.6966, allocations: 8.031 kB / 0.8952 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002242/0.6968, allocations: 168.8 kB / 0.8954 GB, free: 4.258 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003091/0.6999, allocations: 490.5 kB / 0.8959 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.7018, allocations: 1.144 MB / 0.897 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.949e-05/0.7019, allocations: 82.14 kB / 0.8971 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.702, allocations: 119.9 kB / 0.8972 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.704, allocations: 1.149 MB / 0.8983 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.7041, allocations: 3.984 kB / 0.8983 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.7042, allocations: 44 kB / 0.8983 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.887e-05/0.7042, allocations: 46.12 kB / 0.8984 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.706, allocations: 1.066 MB / 0.8994 GB, free: 40 kB / 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.005938/0.712, allocations: 4.193 MB / 0.9035 GB, free: 11.57 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.7132, allocations: 0.8187 MB / 0.9043 GB, free: 10.75 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007041/0.7139, allocations: 483.4 kB / 0.9048 GB, free: 10.27 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004305/0.7144, allocations: 296.3 kB / 0.9051 GB, free: 9.922 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.7144, allocations: 55.48 kB / 0.9051 GB, free: 9.859 MB / 0.67 GB Notification: Performance of pre-optimization done (n=83): time 2.685e-06/0.7145, allocations: 0 / 0.9051 GB, free: 9.859 MB / 0.67 GB Notification: Performance of matching and sorting (n=89): time 0.005553/0.72, allocations: 2.862 MB / 0.9079 GB, free: 6.914 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.7201, allocations: 64.41 kB / 0.908 GB, free: 6.836 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.7213, allocations: 0.9716 MB / 0.9089 GB, free: 5.848 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.588e-05/0.7214, allocations: 49.7 kB / 0.909 GB, free: 5.793 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004788/0.7219, allocations: 0.5482 MB / 0.9095 GB, free: 5.238 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003135/0.7222, allocations: 333.1 kB / 0.9098 GB, free: 4.91 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000267/0.7225, allocations: 158.6 kB / 0.91 GB, free: 4.75 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.7227, allocations: 341.9 kB / 0.9103 GB, free: 4.41 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005743/0.7233, allocations: 333.8 kB / 0.9106 GB, free: 4.086 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007206/0.724, allocations: 0.4926 MB / 0.9111 GB, free: 3.543 MB / 0.67 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006204/0.7302, allocations: 3.024 MB / 0.9141 GB, free: 444 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.7302, allocations: 3.938 kB / 0.9141 GB, free: 440 kB / 0.67 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00164/0.7319, allocations: 1.012 MB / 0.915 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.7319, allocations: 8 kB / 0.9151 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.7319, allocations: 4 kB / 0.9151 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.7319, allocations: 4 kB / 0.9151 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007356/0.7327, allocations: 183.7 kB / 0.9152 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.7327, allocations: 11.98 kB / 0.9152 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008798/0.7336, allocations: 28 kB / 0.9153 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.7337, allocations: 31.98 kB / 0.9153 GB, free: 15.14 MB / 0.6856 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0005663/0.7342, allocations: 394.7 kB / 0.9157 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/0.7344, allocations: 131.2 kB / 0.9158 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.7347, allocations: 152.3 kB / 0.9159 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.679e-06/0.7348, allocations: 8 kB / 0.916 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.7348, allocations: 3.938 kB / 0.916 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001636/0.7364, allocations: 1.09 MB / 0.917 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004797/0.7412, allocations: 3.044 MB / 0.92 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.7412, allocations: 8 kB / 0.92 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007304/0.742, allocations: 171.7 kB / 0.9202 GB, free: 9.891 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003419/0.7423, allocations: 101.6 kB / 0.9203 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.916e-05/0.7424, allocations: 28 kB / 0.9203 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002792/0.7452, allocations: 3.087 MB / 0.9233 GB, free: 6.395 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/0.7452, allocations: 11.94 kB / 0.9233 GB, free: 6.383 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.7478, allocations: 1.808 MB / 0.9251 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005108/0.7484, allocations: 316.1 kB / 0.9254 GB, free: 4.109 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.7485, allocations: 31.98 kB / 0.9254 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008685/0.7494, allocations: 46.73 kB / 0.9255 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.7496, allocations: 88.11 kB / 0.9255 GB, free: 3.949 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-05/0.7497, allocations: 43.98 kB / 0.9256 GB, free: 3.906 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000957/0.7506, allocations: 0.6956 MB / 0.9263 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7506, allocations: 0 / 0.9263 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001039/0.7517, allocations: 372 kB / 0.9266 GB, free: 2.84 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003305/0.755, allocations: 2.482 MB / 0.929 GB, free: 224 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001462/0.7565, allocations: 0.8514 MB / 0.9299 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.7565, allocations: 4 kB / 0.9299 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.7575, allocations: 0.6661 MB / 0.9305 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00406/0.7616, allocations: 0.928 MB / 0.9314 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/0.7751, allocations: 9.687 MB / 0.9409 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.7762, allocations: 1.252 MB / 0.9421 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001219/0.7774, allocations: 342.9 kB / 0.9424 GB, free: 2.043 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007072/0.7782, allocations: 475.3 kB / 0.9429 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of SimCode: time 5.51e-07/0.7782, allocations: 0 / 0.9429 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09274/0.8709, allocations: 38.54 MB / 0.9805 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.3, allocations: 10.8 kB / 0.9805 GB, free: 11.43 MB / 0.7481 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)