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.004883/0.004883, allocations: 99.81 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.001122/0.001122, allocations: 195.1 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.251/1.251, 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.7397/0.7397, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 69.23 kB / 0.5809 GB, free: 24.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1276, allocations: 80.21 MB / 0.6592 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.5/0.6277, allocations: 209.9 MB / 0.8642 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.6411, allocations: 9.844 MB / 0.8738 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001805/0.643, allocations: 59.69 kB / 0.8738 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002021/0.645, allocations: 0.8 MB / 0.8746 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006689/0.6517, allocations: 2.898 MB / 0.8774 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003245/0.655, allocations: 1.393 MB / 0.8788 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004656/0.6596, allocations: 4.071 MB / 0.8828 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.6613, allocations: 1.335 MB / 0.8841 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/0.6634, allocations: 1.424 MB / 0.8855 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002046/0.6654, allocations: 1.227 MB / 0.8867 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002228/0.6657, allocations: 144 kB / 0.8868 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004282/0.67, allocations: 2.397 MB / 0.8891 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006009/0.6706, allocations: 0.6039 MB / 0.8897 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009459/0.6715, allocations: 0.8634 MB / 0.8906 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004129/0.6757, allocations: 3.029 MB / 0.8935 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6757, allocations: 0 / 0.8935 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6757, allocations: 0 / 0.8935 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.63e-05/0.6757, allocations: 0 / 0.8935 GB, free: 6.164 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.002861/0.6786, allocations: 1.945 MB / 0.8954 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.6787, allocations: 8.031 kB / 0.8954 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001924/0.6789, allocations: 172.8 kB / 0.8956 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003157/0.682, allocations: 495.4 kB / 0.8961 GB, free: 3.488 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.684, allocations: 1.14 MB / 0.8972 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.465e-05/0.684, allocations: 78.14 kB / 0.8973 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.6842, allocations: 119.9 kB / 0.8974 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.6861, allocations: 1.153 MB / 0.8985 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.6862, allocations: 7.938 kB / 0.8985 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.6863, allocations: 48 kB / 0.8986 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-05/0.6863, allocations: 38.14 kB / 0.8986 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.688, allocations: 1.066 MB / 0.8996 GB, free: 15.75 MB / 0.67 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.005691/0.6937, allocations: 4.195 MB / 0.9037 GB, free: 11.28 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.6949, allocations: 0.8266 MB / 0.9045 GB, free: 10.45 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006378/0.6955, allocations: 482.8 kB / 0.905 GB, free: 9.973 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003908/0.6959, allocations: 292.8 kB / 0.9053 GB, free: 9.629 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.696, allocations: 51.5 kB / 0.9053 GB, free: 9.57 MB / 0.67 GB Notification: Performance of pre-optimization done (n=83): time 2.224e-06/0.696, allocations: 0 / 0.9053 GB, free: 9.57 MB / 0.67 GB Notification: Performance of matching and sorting (n=89): time 0.005364/0.7013, allocations: 2.865 MB / 0.9081 GB, free: 6.625 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.7014, allocations: 64.41 kB / 0.9082 GB, free: 6.547 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.7026, allocations: 0.9794 MB / 0.9091 GB, free: 5.551 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.857e-05/0.7026, allocations: 41.7 kB / 0.9092 GB, free: 5.504 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.703, allocations: 0.5482 MB / 0.9097 GB, free: 4.949 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.00026/0.7033, allocations: 329.1 kB / 0.91 GB, free: 4.625 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002458/0.7036, allocations: 154.6 kB / 0.9102 GB, free: 4.469 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.7037, allocations: 345.9 kB / 0.9105 GB, free: 4.125 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005013/0.7042, allocations: 333.8 kB / 0.9108 GB, free: 3.801 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006287/0.7048, allocations: 0.4941 MB / 0.9113 GB, free: 3.258 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.005673/0.7105, allocations: 3.024 MB / 0.9143 GB, free: 152 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.7105, allocations: 3.938 kB / 0.9143 GB, free: 148 kB / 0.67 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001477/0.712, allocations: 1.016 MB / 0.9153 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.712, allocations: 8 kB / 0.9153 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.7121, allocations: 0 / 0.9153 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.7121, allocations: 8 kB / 0.9153 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007321/0.7128, allocations: 179.7 kB / 0.9154 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.7128, allocations: 8 kB / 0.9155 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009697/0.7138, allocations: 34.39 kB / 0.9155 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.568e-05/0.7139, allocations: 36 kB / 0.9155 GB, free: 14.85 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.0005179/0.7144, allocations: 385.3 kB / 0.9159 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.7146, allocations: 131.2 kB / 0.916 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.7149, allocations: 148.3 kB / 0.9162 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.7149, allocations: 12 kB / 0.9162 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.7149, allocations: 7.938 kB / 0.9162 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001457/0.7164, allocations: 1.094 MB / 0.9172 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004548/0.7209, allocations: 3.039 MB / 0.9202 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.721, allocations: 8 kB / 0.9202 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007241/0.7217, allocations: 171.7 kB / 0.9204 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003337/0.722, allocations: 110.1 kB / 0.9205 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.719e-05/0.7221, allocations: 28 kB / 0.9205 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0024/0.7245, allocations: 3.087 MB / 0.9235 GB, free: 6.102 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.7246, allocations: 11.94 kB / 0.9235 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/0.7269, allocations: 1.804 MB / 0.9253 GB, free: 4.148 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005851/0.7275, allocations: 316.1 kB / 0.9256 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.7277, allocations: 28 kB / 0.9256 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009539/0.7287, allocations: 52.03 kB / 0.9257 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.7288, allocations: 84.11 kB / 0.9258 GB, free: 3.66 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.62e-05/0.7289, allocations: 43.98 kB / 0.9258 GB, free: 3.617 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009214/0.7298, allocations: 0.6956 MB / 0.9265 GB, free: 2.914 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7298, allocations: 0 / 0.9265 GB, free: 2.914 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001061/0.7309, allocations: 372 kB / 0.9268 GB, free: 2.551 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.002986/0.7339, allocations: 2.482 MB / 0.9293 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001303/0.7352, allocations: 0.8472 MB / 0.9301 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.7352, allocations: 4 kB / 0.9301 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008962/0.7361, allocations: 0.6651 MB / 0.9307 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004029/0.7402, allocations: 0.9222 MB / 0.9316 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/0.7536, allocations: 9.71 MB / 0.9411 GB, free: 3.371 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009789/0.7546, allocations: 1.241 MB / 0.9423 GB, free: 2.098 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001218/0.7558, allocations: 343 kB / 0.9427 GB, free: 1.758 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006558/0.7565, allocations: 479.3 kB / 0.9431 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of SimCode: time 6.01e-07/0.7565, allocations: 0 / 0.9431 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06827/0.8248, allocations: 38.53 MB / 0.9807 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.98, allocations: 3.938 kB / 0.9808 GB, free: 11.14 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)