Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.006728/0.006727, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001683/0.001683, allocations: 197.7 kB / 16.68 MB, free: 5.977 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9232/0.9232, allocations: 135.6 MB / 426.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 67.89 kB / 0.5858 GB, free: 3.176 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3561, allocations: 81.01 MB / 0.6649 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2068/0.563, allocations: 190.5 MB / 0.8509 GB, free: 1.766 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009185/0.5722, allocations: 5.695 MB / 0.8564 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008998/0.5731, allocations: 35.81 kB / 0.8565 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.5746, allocations: 0.563 MB / 0.857 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004122/0.5787, allocations: 1.832 MB / 0.8588 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002725/0.5815, allocations: 1.188 MB / 0.86 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003535/0.585, allocations: 2.959 MB / 0.8629 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.5864, allocations: 1.117 MB / 0.864 GB, free: 4.328 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.588, allocations: 1.07 MB / 0.865 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001785/0.5898, allocations: 0.961 MB / 0.8659 GB, free: 2.297 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002019/0.59, allocations: 120 kB / 0.8661 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002696/0.5927, allocations: 1.45 MB / 0.8675 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005587/0.5933, allocations: 0.5572 MB / 0.868 GB, free: 172 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.3402/0.9335, allocations: 0.7211 MB / 0.8687 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003402/0.9369, allocations: 2.345 MB / 0.871 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.937, allocations: 1.75 kB / 0.871 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.432e-06/0.937, allocations: 4.094 kB / 0.871 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.937, allocations: 0 / 0.871 GB, free: 6.516 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002288/0.9393, allocations: 1.661 MB / 0.8726 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.9393, allocations: 11.16 kB / 0.8726 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001713/0.9395, allocations: 159.5 kB / 0.8728 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/0.9414, allocations: 330.3 kB / 0.8731 GB, free: 5.559 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.9426, allocations: 0.9248 MB / 0.874 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-05/0.9427, allocations: 72.88 kB / 0.8741 GB, free: 5.219 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.9428, allocations: 99.12 kB / 0.8742 GB, free: 5.219 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.9445, allocations: 1.078 MB / 0.8752 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.9446, allocations: 1.344 kB / 0.8752 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.923e-05/0.9447, allocations: 43.78 kB / 0.8753 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.883e-05/0.9447, allocations: 41.7 kB / 0.8753 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.9464, allocations: 0.995 MB / 0.8763 GB, free: 5.152 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.005363/0.9517, allocations: 4.222 MB / 0.8804 GB, free: 19.43 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000865/0.9526, allocations: 0.5924 MB / 0.881 GB, free: 19.41 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004622/0.9531, allocations: 344 kB / 0.8813 GB, free: 19.4 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001818/0.9533, allocations: 108.9 kB / 0.8814 GB, free: 19.3 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.9533, allocations: 47.58 kB / 0.8815 GB, free: 19.27 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 1.914e-06/0.9533, allocations: 0 / 0.8815 GB, free: 19.27 MB / 0.7012 GB Notification: Performance of matching and sorting (n=55): time 0.003566/0.9569, allocations: 2.219 MB / 0.8836 GB, free: 18.46 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.9569, allocations: 67.92 kB / 0.8837 GB, free: 18.39 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009575/0.9579, allocations: 0.8786 MB / 0.8846 GB, free: 18.26 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.958, allocations: 40.55 kB / 0.8846 GB, free: 18.23 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.9583, allocations: 0.5265 MB / 0.8851 GB, free: 17.99 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.9584, allocations: 199.6 kB / 0.8853 GB, free: 17.86 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.9586, allocations: 133.4 kB / 0.8854 GB, free: 17.84 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.9588, allocations: 335.4 kB / 0.8857 GB, free: 17.54 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004421/0.9592, allocations: 284.2 kB / 0.886 GB, free: 17.54 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005234/0.9597, allocations: 449.3 kB / 0.8864 GB, free: 17.38 MB / 0.7012 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.003532/0.9633, allocations: 1.735 MB / 0.8881 GB, free: 17.14 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.9633, allocations: 0.5312 kB / 0.8881 GB, free: 17.14 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00136/0.9647, allocations: 0.9326 MB / 0.889 GB, free: 17.01 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.9647, allocations: 6.656 kB / 0.8891 GB, free: 17.01 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.9647, allocations: 4.75 kB / 0.8891 GB, free: 17.01 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.9649, allocations: 95.98 kB / 0.8892 GB, free: 16.99 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006651/0.9656, allocations: 164.7 kB / 0.8893 GB, free: 16.99 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003366/0.9689, allocations: 4.637 MB / 0.8938 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007421/0.9697, allocations: 32.41 kB / 0.8939 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.9697, allocations: 27 kB / 0.8939 GB, free: 12.96 MB / 0.7012 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004451/0.9702, allocations: 346.8 kB / 0.8942 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.9704, allocations: 110.6 kB / 0.8943 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.9705, allocations: 112.1 kB / 0.8944 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.9705, allocations: 5.219 kB / 0.8944 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.9706, allocations: 7.469 kB / 0.8944 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009916/0.9715, allocations: 0.7625 MB / 0.8952 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.9742, allocations: 1.99 MB / 0.8971 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.9742, allocations: 5.859 kB / 0.8971 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006363/0.9748, allocations: 147.2 kB / 0.8973 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-05/0.9749, allocations: 40.75 kB / 0.8973 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.975, allocations: 17.97 kB / 0.8973 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.9761, allocations: 1.603 MB / 0.8989 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.9761, allocations: 6.906 kB / 0.8989 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.9777, allocations: 1.24 MB / 0.9001 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000341/0.978, allocations: 257.8 kB / 0.9004 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.9782, allocations: 16.02 kB / 0.9004 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000647/0.9788, allocations: 30.38 kB / 0.9004 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.223e-05/0.9789, allocations: 54.05 kB / 0.9005 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-05/0.979, allocations: 35.17 kB / 0.9005 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006379/0.9796, allocations: 0.6149 MB / 0.9011 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9796, allocations: 0 / 0.9011 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007802/0.9804, allocations: 305.8 kB / 0.9014 GB, free: 10.14 MB / 0.7012 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 (53): * Single equations (assignments): 52 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001926/0.9824, allocations: 1.885 MB / 0.9032 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001226/0.9836, allocations: 1.015 MB / 0.9042 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9836, allocations: 0.9688 kB / 0.9042 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000505/0.9841, allocations: 451.2 kB / 0.9047 GB, free: 8.844 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/0.9866, allocations: 0.6486 MB / 0.9053 GB, free: 8.762 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008727/0.9953, allocations: 7.954 MB / 0.9131 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007024/0.996, allocations: 1.169 MB / 0.9142 GB, free: 5.582 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008302/0.9969, allocations: 252.1 kB / 0.9144 GB, free: 5.551 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000422/0.9973, allocations: 377.6 kB / 0.9148 GB, free: 5.543 MB / 0.7012 GB Notification: Performance of SimCode: time 9.22e-07/0.9973, allocations: 0.875 kB / 0.9148 GB, free: 5.543 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06204/1.059, allocations: 30.55 MB / 0.9446 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.8, allocations: 24.06 kB / 0.9446 GB, free: 12.54 MB / 0.7169 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)