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.0009492/0.0009493, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005705/0.005705, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.27/1.27, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8764/0.8764, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003034, allocations: 8 kB / 0.5077 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.133, allocations: 82.31 MB / 0.5881 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4055/0.5386, allocations: 185.7 MB / 0.7694 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00816/0.5468, allocations: 5.711 MB / 0.775 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006156/0.5474, allocations: 31.75 kB / 0.775 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.5486, allocations: 0.4896 MB / 0.7755 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003544/0.5521, allocations: 1.727 MB / 0.7772 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002398/0.5546, allocations: 1.068 MB / 0.7783 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003926/0.5585, allocations: 4.096 MB / 0.7823 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.5598, allocations: 0.9356 MB / 0.7832 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/0.5614, allocations: 0.8711 MB / 0.784 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.5631, allocations: 0.9352 MB / 0.7849 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.5632, allocations: 51.98 kB / 0.785 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003114/0.5663, allocations: 1.633 MB / 0.7866 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004752/0.5668, allocations: 0.4908 MB / 0.7871 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006641/0.5675, allocations: 0.6509 MB / 0.7877 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.5701, allocations: 2.328 MB / 0.79 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5701, allocations: 0 / 0.79 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5701, allocations: 0 / 0.79 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.5701, allocations: 0 / 0.79 GB, free: 13.62 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.00211/0.5722, allocations: 1.367 MB / 0.7913 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.5723, allocations: 8.031 kB / 0.7913 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001819/0.5725, allocations: 160.2 kB / 0.7915 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001921/0.5744, allocations: 330.2 kB / 0.7918 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.5756, allocations: 0.8707 MB / 0.7926 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.319e-05/0.5757, allocations: 74 kB / 0.7927 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.5758, allocations: 99.94 kB / 0.7928 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.5776, allocations: 1.097 MB / 0.7939 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.5776, allocations: 4 kB / 0.7939 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.695e-05/0.5777, allocations: 36 kB / 0.7939 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.404e-05/0.5778, allocations: 42 kB / 0.7939 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.5794, allocations: 1.003 MB / 0.7949 GB, free: 8.438 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.005403/0.5848, allocations: 4.248 MB / 0.7991 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008566/0.5857, allocations: 0.5982 MB / 0.7997 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005032/0.5862, allocations: 342.5 kB / 0.8 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/0.5864, allocations: 113.5 kB / 0.8001 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.5864, allocations: 47 kB / 0.8001 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 1.693e-06/0.5864, allocations: 0 / 0.8001 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.00375/0.5902, allocations: 2.232 MB / 0.8023 GB, free: 432 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.5902, allocations: 55.97 kB / 0.8024 GB, free: 364 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009794/0.5912, allocations: 0.8842 MB / 0.8032 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.774e-05/0.5913, allocations: 41.7 kB / 0.8033 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/0.5916, allocations: 0.5146 MB / 0.8038 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.5918, allocations: 201.2 kB / 0.804 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.323e-05/0.5919, allocations: 57.69 kB / 0.804 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.592, allocations: 334 kB / 0.8043 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004871/0.5925, allocations: 285.8 kB / 0.8046 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005789/0.5931, allocations: 450.6 kB / 0.805 GB, free: 13.52 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.003873/0.5969, allocations: 1.768 MB / 0.8068 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5969, allocations: 0 / 0.8068 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001433/0.5984, allocations: 0.9376 MB / 0.8077 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.5984, allocations: 7.938 kB / 0.8077 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5984, allocations: 7.984 kB / 0.8077 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/0.5986, allocations: 98.72 kB / 0.8078 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007215/0.5994, allocations: 171.8 kB / 0.808 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/0.6024, allocations: 4.285 MB / 0.8121 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008757/0.6033, allocations: 86.28 kB / 0.8122 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-05/0.6033, allocations: 24 kB / 0.8122 GB, free: 5.648 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 sytem: 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.0004202/0.6038, allocations: 345.5 kB / 0.8126 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.6039, allocations: 98.88 kB / 0.8127 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.6041, allocations: 113.1 kB / 0.8128 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.6042, allocations: 8 kB / 0.8128 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.6042, allocations: 0 / 0.8128 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001071/0.6052, allocations: 0.7769 MB / 0.8135 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002996/0.6082, allocations: 1.999 MB / 0.8155 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.6083, allocations: 3.984 kB / 0.8155 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000709/0.609, allocations: 160.2 kB / 0.8157 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.25e-05/0.6091, allocations: 36.83 kB / 0.8157 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/0.6091, allocations: 19.94 kB / 0.8157 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.6102, allocations: 1.48 MB / 0.8172 GB, free: 320 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6102, allocations: 7.969 kB / 0.8172 GB, free: 312 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.612, allocations: 1.254 MB / 0.8184 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003599/0.6123, allocations: 255.8 kB / 0.8186 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.6125, allocations: 16 kB / 0.8186 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008039/0.6133, allocations: 73.73 kB / 0.8187 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.6134, allocations: 47.83 kB / 0.8188 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.05e-05/0.6135, allocations: 31.98 kB / 0.8188 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007133/0.6142, allocations: 0.6161 MB / 0.8194 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6142, allocations: 0 / 0.8194 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008358/0.615, allocations: 300 kB / 0.8197 GB, free: 13.65 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.002215/0.6172, allocations: 1.889 MB / 0.8215 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001379/0.6186, allocations: 1.006 MB / 0.8225 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.6187, allocations: 8 kB / 0.8225 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000605/0.6193, allocations: 454 kB / 0.8229 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/0.6225, allocations: 0.628 MB / 0.8236 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.6338, allocations: 8.765 MB / 0.8321 GB, free: 432 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007206/0.6346, allocations: 1.174 MB / 0.8333 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009361/0.6355, allocations: 254.7 kB / 0.8335 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004852/0.636, allocations: 379.3 kB / 0.8339 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of SimCode: time 6.31e-07/0.636, allocations: 3.938 kB / 0.8339 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.194/1.83, allocations: 28.97 MB / 0.8622 GB, free: 2.137 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003399/1.83, allocations: 300.8 kB / 0.8625 GB, free: 1.754 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.79/4.62, allocations: 0 / 0.8625 GB, free: 1.754 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)