Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_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.001294/0.001294, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001486/0.001486, allocations: 194.6 kB / 16.25 MB, free: 6.145 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.228/1.228, allocations: 222.9 MB / 239.9 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6786/0.6786, allocations: 132.2 MB / 422.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 64.36 kB / 0.5014 GB, free: 4.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3258, allocations: 80.19 MB / 0.5797 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1599/0.4857, allocations: 188 MB / 0.7633 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007155/0.4929, allocations: 5.661 MB / 0.7688 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008232/0.4938, allocations: 35.81 kB / 0.7688 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.4949, allocations: 0.4975 MB / 0.7693 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003139/0.4981, allocations: 1.716 MB / 0.771 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002168/0.5003, allocations: 1.087 MB / 0.772 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002391/0.5027, allocations: 2.944 MB / 0.7749 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009818/0.5037, allocations: 1.101 MB / 0.776 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.5048, allocations: 1.059 MB / 0.777 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001382/0.5061, allocations: 1.032 MB / 0.778 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.5063, allocations: 124 kB / 0.7782 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001866/0.5082, allocations: 1.52 MB / 0.7796 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004145/0.5086, allocations: 0.5728 MB / 0.7802 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005518/0.5092, allocations: 0.7311 MB / 0.7809 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.5111, allocations: 2.419 MB / 0.7833 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5111, allocations: 4 kB / 0.7833 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5111, allocations: 0 / 0.7833 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.5111, allocations: 0 / 0.7833 GB, free: 0.5352 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.001991/0.5131, allocations: 1.617 MB / 0.7849 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.5132, allocations: 8.031 kB / 0.7849 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000156/0.5133, allocations: 160.2 kB / 0.785 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/0.5151, allocations: 326.2 kB / 0.7853 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.5161, allocations: 0.8746 MB / 0.7862 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.824e-05/0.5162, allocations: 77.94 kB / 0.7863 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.5163, allocations: 99.94 kB / 0.7863 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.5178, allocations: 1.085 MB / 0.7874 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.5179, allocations: 0 / 0.7874 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-05/0.518, allocations: 47.97 kB / 0.7875 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.179e-05/0.518, allocations: 41.94 kB / 0.7875 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.5194, allocations: 0.9954 MB / 0.7885 GB, free: 11.11 MB / 0.6231 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.004681/0.5241, allocations: 4.233 MB / 0.7926 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007551/0.5249, allocations: 0.6035 MB / 0.7932 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000434/0.5253, allocations: 346.5 kB / 0.7935 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.5255, allocations: 97.53 kB / 0.7936 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.5255, allocations: 47 kB / 0.7937 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 2.535e-06/0.5255, allocations: 0 / 0.7937 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55): time 0.003304/0.5288, allocations: 2.204 MB / 0.7958 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.5289, allocations: 55.97 kB / 0.7959 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000838/0.5297, allocations: 0.8843 MB / 0.7967 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/0.5298, allocations: 37.7 kB / 0.7968 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/0.5301, allocations: 0.5185 MB / 0.7973 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.5302, allocations: 193.2 kB / 0.7975 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.5304, allocations: 130.6 kB / 0.7976 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.296e-05/0.5305, allocations: 341.9 kB / 0.7979 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/0.5309, allocations: 281.8 kB / 0.7982 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004905/0.5314, allocations: 442.7 kB / 0.7986 GB, free: 184 kB / 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.003347/0.5347, allocations: 1.738 MB / 0.8003 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5348, allocations: 0 / 0.8003 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001275/0.536, allocations: 0.93 MB / 0.8012 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.5361, allocations: 8 kB / 0.8012 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.5361, allocations: 8 kB / 0.8012 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001829/0.5363, allocations: 94.52 kB / 0.8013 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006285/0.5369, allocations: 163.7 kB / 0.8015 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.5398, allocations: 4.636 MB / 0.806 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007912/0.5406, allocations: 72.62 kB / 0.8061 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/0.5407, allocations: 28 kB / 0.8061 GB, free: 7.988 MB / 0.6387 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.0003819/0.5411, allocations: 345.5 kB / 0.8064 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.5412, allocations: 98.88 kB / 0.8065 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.5414, allocations: 109.2 kB / 0.8066 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.5414, allocations: 12 kB / 0.8066 GB, free: 7.426 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5414, allocations: 3.938 kB / 0.8066 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009482/0.5424, allocations: 0.7613 MB / 0.8074 GB, free: 6.613 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/0.545, allocations: 1.988 MB / 0.8093 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.545, allocations: 4 kB / 0.8093 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006341/0.5457, allocations: 147.8 kB / 0.8095 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.847e-05/0.5458, allocations: 45.17 kB / 0.8095 GB, free: 4.328 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/0.5458, allocations: 19.98 kB / 0.8095 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.5469, allocations: 1.598 MB / 0.8111 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5469, allocations: 11.88 kB / 0.8111 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.5484, allocations: 1.234 MB / 0.8123 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/0.5487, allocations: 251.9 kB / 0.8125 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.5488, allocations: 16 kB / 0.8126 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007304/0.5496, allocations: 71.44 kB / 0.8126 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-05/0.5497, allocations: 51.83 kB / 0.8127 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.765e-05/0.5497, allocations: 31.98 kB / 0.8127 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006541/0.5504, allocations: 0.6122 MB / 0.8133 GB, free: 228 kB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5504, allocations: 0 / 0.8133 GB, free: 228 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.2152/0.7656, allocations: 308.6 kB / 0.8136 GB, free: 218.6 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.002349/0.768, allocations: 1.859 MB / 0.8154 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001523/0.7696, allocations: 1.113 MB / 0.8165 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.7696, allocations: 2.375 kB / 0.8165 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005474/0.7701, allocations: 452 kB / 0.8169 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/0.7727, allocations: 0.6502 MB / 0.8176 GB, free: 217 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.7828, allocations: 8.655 MB / 0.826 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/0.7835, allocations: 1.168 MB / 0.8272 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008947/0.7844, allocations: 248.4 kB / 0.8274 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004027/0.7848, allocations: 380.7 kB / 0.8278 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of SimCode: time 2.4e-07/0.7848, allocations: 0 / 0.8278 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.363/2.148, allocations: 30.03 MB / 0.8571 GB, free: 192.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/2.148, allocations: 294.6 kB / 0.8574 GB, free: 192.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.305/4.454, allocations: 2.5 kB / 0.8574 GB, free: 192.3 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)