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.001051/0.001051, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001173/0.001173, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.294/1.294, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7201/0.7201, allocations: 132.2 MB / 422.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 59.66 kB / 0.5012 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3447, allocations: 80.2 MB / 0.5795 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1823/0.527, allocations: 188.2 MB / 0.7633 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009049/0.5361, allocations: 5.749 MB / 0.7689 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.5372, allocations: 39.75 kB / 0.769 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.5388, allocations: 0.4896 MB / 0.7694 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003956/0.5428, allocations: 1.72 MB / 0.7711 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002576/0.5454, allocations: 1.076 MB / 0.7722 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003762/0.5491, allocations: 4.086 MB / 0.7762 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.5503, allocations: 0.9658 MB / 0.7771 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.5516, allocations: 0.9062 MB / 0.778 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.5533, allocations: 1.002 MB / 0.779 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.5534, allocations: 60 kB / 0.779 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002791/0.5562, allocations: 1.644 MB / 0.7806 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004973/0.5567, allocations: 0.5142 MB / 0.7811 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007275/0.5575, allocations: 0.6492 MB / 0.7818 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002944/0.5604, allocations: 2.368 MB / 0.7841 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5605, allocations: 3.938 kB / 0.7841 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5605, allocations: 3.938 kB / 0.7841 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.5605, allocations: 0 / 0.7841 GB, free: 15.55 MB / 0.6231 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.002436/0.5629, allocations: 1.624 MB / 0.7857 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.563, allocations: 8.031 kB / 0.7857 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001894/0.5632, allocations: 160.2 kB / 0.7858 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/0.5652, allocations: 322.2 kB / 0.7861 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.5664, allocations: 0.8746 MB / 0.787 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.805e-05/0.5665, allocations: 81.88 kB / 0.7871 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.5666, allocations: 96 kB / 0.7872 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.5684, allocations: 1.081 MB / 0.7882 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.5684, allocations: 0 / 0.7882 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.96e-05/0.5685, allocations: 47.98 kB / 0.7883 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.775e-05/0.5686, allocations: 37.98 kB / 0.7883 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.5701, allocations: 0.9915 MB / 0.7893 GB, free: 10.12 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.005502/0.5756, allocations: 4.244 MB / 0.7934 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000873/0.5765, allocations: 0.5919 MB / 0.794 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004923/0.577, allocations: 338.5 kB / 0.7943 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001825/0.5772, allocations: 109.5 kB / 0.7944 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.5773, allocations: 39 kB / 0.7944 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 1.733e-06/0.5773, allocations: 0 / 0.7944 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55): time 0.003873/0.5811, allocations: 2.204 MB / 0.7966 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.5812, allocations: 55.97 kB / 0.7967 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009744/0.5822, allocations: 0.8843 MB / 0.7975 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.28e-05/0.5822, allocations: 37.7 kB / 0.7976 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000342/0.5826, allocations: 0.5185 MB / 0.7981 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.5827, allocations: 193.2 kB / 0.7982 GB, free: 448 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.583, allocations: 134.5 kB / 0.7984 GB, free: 308 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.5831, allocations: 334 kB / 0.7987 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/0.5836, allocations: 285.8 kB / 0.799 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005705/0.5841, allocations: 450.6 kB / 0.7994 GB, free: 15.2 MB / 0.6387 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.003845/0.588, allocations: 1.726 MB / 0.8011 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.588, allocations: 4 kB / 0.8011 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001509/0.5895, allocations: 0.9334 MB / 0.802 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.5895, allocations: 4 kB / 0.802 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.5896, allocations: 8 kB / 0.802 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002038/0.5898, allocations: 102.9 kB / 0.8021 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007225/0.5905, allocations: 159.8 kB / 0.8023 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003254/0.5938, allocations: 4.29 MB / 0.8064 GB, free: 7.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.5949, allocations: 66.12 kB / 0.8065 GB, free: 7.418 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.659e-05/0.595, allocations: 31.94 kB / 0.8065 GB, free: 7.387 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.0005191/0.5955, allocations: 341.6 kB / 0.8069 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.5957, allocations: 106.7 kB / 0.807 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.5959, allocations: 109.2 kB / 0.8071 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.5959, allocations: 4 kB / 0.8071 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.5959, allocations: 7.984 kB / 0.8071 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001053/0.597, allocations: 0.7691 MB / 0.8078 GB, free: 6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002956/0.5999, allocations: 1.976 MB / 0.8098 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.6, allocations: 4 kB / 0.8098 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007009/0.6007, allocations: 152.2 kB / 0.8099 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.339e-05/0.6008, allocations: 44.77 kB / 0.81 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.6008, allocations: 16 kB / 0.81 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.6019, allocations: 1.48 MB / 0.8114 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.6019, allocations: 7.969 kB / 0.8114 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.6036, allocations: 1.238 MB / 0.8126 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/0.604, allocations: 251.9 kB / 0.8129 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.6041, allocations: 16 kB / 0.8129 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008012/0.6049, allocations: 67.78 kB / 0.813 GB, free: 444 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.6051, allocations: 51.83 kB / 0.813 GB, free: 392 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.535e-05/0.6051, allocations: 39.91 kB / 0.813 GB, free: 352 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.2364/0.8416, allocations: 0.6065 MB / 0.8136 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.91e-07/0.8416, allocations: 0 / 0.8136 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001401/0.843, allocations: 305.5 kB / 0.8139 GB, free: 218.3 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.002142/0.8452, allocations: 1.865 MB / 0.8157 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.8465, allocations: 1.004 MB / 0.8167 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.8465, allocations: 1.344 kB / 0.8167 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005721/0.8471, allocations: 445.2 kB / 0.8172 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/0.8498, allocations: 0.6257 MB / 0.8178 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.8612, allocations: 8.652 MB / 0.8262 GB, free: 212 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006592/0.8619, allocations: 1.172 MB / 0.8274 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001077/0.8629, allocations: 252.5 kB / 0.8276 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004321/0.8634, allocations: 380.6 kB / 0.828 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of SimCode: time 5.91e-07/0.8634, allocations: 0 / 0.828 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04202/0.9054, allocations: 29.23 MB / 0.8565 GB, free: 193.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001378/0.9056, allocations: 295.4 kB / 0.8568 GB, free: 192.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.388/3.293, allocations: 0 / 0.8568 GB, free: 192.7 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)