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.001657/0.001657, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8961/0.8961, allocations: 135.1 MB / 425.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 72.75 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1342, allocations: 80.92 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.3997/0.5339, allocations: 190.4 MB / 0.7704 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008748/0.5427, allocations: 5.682 MB / 0.776 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009951/0.5437, allocations: 43.75 kB / 0.776 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.545, allocations: 0.5708 MB / 0.7766 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003669/0.5487, allocations: 1.828 MB / 0.7784 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.5512, allocations: 1.162 MB / 0.7795 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002816/0.5541, allocations: 2.953 MB / 0.7824 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.5553, allocations: 1.122 MB / 0.7835 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.5566, allocations: 1.055 MB / 0.7845 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/0.5582, allocations: 0.9676 MB / 0.7855 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.5584, allocations: 124 kB / 0.7856 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002455/0.5608, allocations: 1.442 MB / 0.787 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005049/0.5614, allocations: 0.565 MB / 0.7875 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007246/0.5621, allocations: 0.7273 MB / 0.7883 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002553/0.5646, allocations: 2.322 MB / 0.7905 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5647, allocations: 0 / 0.7905 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5647, allocations: 4 kB / 0.7905 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.898e-05/0.5647, allocations: 0 / 0.7905 GB, free: 9.797 MB / 0.6075 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.002352/0.5671, allocations: 1.626 MB / 0.7921 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.5671, allocations: 11.97 kB / 0.7921 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001815/0.5673, allocations: 164.1 kB / 0.7923 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/0.5692, allocations: 326.2 kB / 0.7926 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.5705, allocations: 0.8707 MB / 0.7934 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.533e-05/0.5706, allocations: 77.98 kB / 0.7935 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.5707, allocations: 103.9 kB / 0.7936 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.5725, allocations: 1.081 MB / 0.7947 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.5725, allocations: 0 / 0.7947 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.5727, allocations: 44 kB / 0.7947 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.571e-05/0.5727, allocations: 37.98 kB / 0.7948 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.5744, allocations: 0.9876 MB / 0.7957 GB, free: 4.379 MB / 0.6075 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.005536/0.58, allocations: 4.264 MB / 0.7999 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008589/0.5808, allocations: 0.5943 MB / 0.8005 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004909/0.5813, allocations: 342.5 kB / 0.8008 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001898/0.5815, allocations: 101.4 kB / 0.8009 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.5816, allocations: 54.98 kB / 0.8009 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 2.044e-06/0.5816, allocations: 0 / 0.8009 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55): time 0.003814/0.5854, allocations: 2.193 MB / 0.8031 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.5855, allocations: 59.95 kB / 0.8031 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.5865, allocations: 0.8843 MB / 0.804 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/0.5865, allocations: 41.7 kB / 0.804 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/0.5869, allocations: 0.5146 MB / 0.8045 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.5871, allocations: 201.1 kB / 0.8047 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.5873, allocations: 130.6 kB / 0.8049 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.5874, allocations: 334 kB / 0.8052 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004721/0.5878, allocations: 285.8 kB / 0.8055 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005742/0.5884, allocations: 446.6 kB / 0.8059 GB, free: 9.426 MB / 0.6231 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.003868/0.5923, allocations: 1.737 MB / 0.8076 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5923, allocations: 0 / 0.8076 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001441/0.5938, allocations: 0.9219 MB / 0.8085 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.5938, allocations: 15.88 kB / 0.8085 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.5938, allocations: 4 kB / 0.8085 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002025/0.594, allocations: 102.8 kB / 0.8086 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00073/0.5948, allocations: 159.8 kB / 0.8087 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003337/0.5981, allocations: 4.64 MB / 0.8133 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008478/0.599, allocations: 27.92 kB / 0.8133 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/0.599, allocations: 36.09 kB / 0.8133 GB, free: 1.27 MB / 0.6231 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.0004576/0.5995, allocations: 342.9 kB / 0.8137 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.5997, allocations: 106.8 kB / 0.8138 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.5999, allocations: 105.2 kB / 0.8139 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.5999, allocations: 8 kB / 0.8139 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5999, allocations: 0 / 0.8139 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001057/0.601, allocations: 0.773 MB / 0.8146 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/0.604, allocations: 1.98 MB / 0.8166 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.604, allocations: 7.969 kB / 0.8166 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000696/0.6047, allocations: 147.8 kB / 0.8167 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.188e-05/0.6048, allocations: 36.84 kB / 0.8167 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/0.6048, allocations: 19.98 kB / 0.8168 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.606, allocations: 1.602 MB / 0.8183 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.606, allocations: 9.734 kB / 0.8183 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.6077, allocations: 1.238 MB / 0.8195 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003741/0.6081, allocations: 252.1 kB / 0.8198 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.6082, allocations: 15.94 kB / 0.8198 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007405/0.609, allocations: 42.55 kB / 0.8198 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.6091, allocations: 47.81 kB / 0.8199 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.055e-05/0.6092, allocations: 31.98 kB / 0.8199 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008092/0.61, allocations: 0.6161 MB / 0.8205 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.3e-07/0.61, allocations: 4 kB / 0.8205 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00088/0.6109, allocations: 300 kB / 0.8208 GB, free: 9.238 MB / 0.6387 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.002297/0.6132, allocations: 1.875 MB / 0.8226 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001658/0.6149, allocations: 1.103 MB / 0.8237 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.6149, allocations: 8.062 kB / 0.8237 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000609/0.6155, allocations: 446 kB / 0.8242 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/0.6183, allocations: 0.6587 MB / 0.8248 GB, free: 5.094 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.6292, allocations: 8.278 MB / 0.8329 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009132/0.6302, allocations: 1.169 MB / 0.834 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00101/0.6312, allocations: 256.4 kB / 0.8343 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005021/0.6317, allocations: 383.3 kB / 0.8346 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of SimCode: time 5.21e-07/0.6317, allocations: 0 / 0.8346 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.342/0.9738, allocations: 30.3 MB / 0.8642 GB, free: 220.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/12.28, allocations: 4 kB / 0.8642 GB, free: 220.3 MB / 0.67 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)