Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.000807/0.000807, allocations: 98.03 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.004636/0.004636, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.896/0.896, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.0002981, allocations: 15.94 kB / 0.5077 GB, free: 4.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1452, allocations: 82.31 MB / 0.5881 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.3998/0.545, allocations: 185.6 MB / 0.7693 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007851/0.5529, allocations: 5.686 MB / 0.7748 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005773/0.5535, allocations: 31.75 kB / 0.7749 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.5546, allocations: 497.5 kB / 0.7754 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002852/0.5575, allocations: 1.517 MB / 0.7768 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.5597, allocations: 1.081 MB / 0.7779 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002963/0.5627, allocations: 3.477 MB / 0.7813 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009041/0.5636, allocations: 0.8236 MB / 0.7821 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.5648, allocations: 0.8635 MB / 0.7829 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.5662, allocations: 0.8125 MB / 0.7837 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.159e-05/0.5663, allocations: 40 kB / 0.7838 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002339/0.5686, allocations: 1.691 MB / 0.7854 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003831/0.569, allocations: 426.8 kB / 0.7858 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005005/0.5695, allocations: 0.5692 MB / 0.7864 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.5715, allocations: 2.115 MB / 0.7884 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.5715, allocations: 0 / 0.7884 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5715, allocations: 0 / 0.7884 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.5715, allocations: 3.938 kB / 0.7884 GB, free: 15.16 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001748/0.5733, allocations: 1.246 MB / 0.7897 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.5733, allocations: 15.97 kB / 0.7897 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001536/0.5735, allocations: 143.2 kB / 0.7898 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/0.5753, allocations: 342.3 kB / 0.7901 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.5764, allocations: 0.7726 MB / 0.7909 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003626/0.5768, allocations: 133.9 kB / 0.791 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.5769, allocations: 88 kB / 0.7911 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.5785, allocations: 1.072 MB / 0.7922 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.5786, allocations: 0 / 0.7922 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.698e-05/0.5787, allocations: 40 kB / 0.7922 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/0.5787, allocations: 30 kB / 0.7922 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.5802, allocations: 0.847 MB / 0.793 GB, free: 10.32 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.004813/0.585, allocations: 4.066 MB / 0.797 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005272/0.5855, allocations: 377.6 kB / 0.7974 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.5858, allocations: 213.7 kB / 0.7976 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.586, allocations: 105.7 kB / 0.7977 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.586, allocations: 38.56 kB / 0.7977 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.573e-06/0.586, allocations: 0 / 0.7977 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.002214/0.5883, allocations: 1.33 MB / 0.799 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.5883, allocations: 55.41 kB / 0.7991 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.5895, allocations: 1.008 MB / 0.8001 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.5896, allocations: 37.7 kB / 0.8001 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.5899, allocations: 491.3 kB / 0.8006 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.5901, allocations: 134.1 kB / 0.8007 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.338e-05/0.5901, allocations: 53.69 kB / 0.8007 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.5902, allocations: 330 kB / 0.8011 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/0.5907, allocations: 237.2 kB / 0.8013 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/0.5913, allocations: 423 kB / 0.8017 GB, free: 0.9922 MB / 0.6075 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.00232/0.5936, allocations: 1.195 MB / 0.8028 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5936, allocations: 8 kB / 0.8029 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001296/0.5949, allocations: 0.7612 MB / 0.8036 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.595, allocations: 10.34 kB / 0.8036 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.595, allocations: 4 kB / 0.8036 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.595, allocations: 8 kB / 0.8036 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005412/0.5955, allocations: 148 kB / 0.8038 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.5956, allocations: 8 kB / 0.8038 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009229/0.5965, allocations: 95.77 kB / 0.8039 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.771e-05/0.5965, allocations: 31.94 kB / 0.8039 GB, free: 14.64 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: 22 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003684/0.5969, allocations: 309.5 kB / 0.8042 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.5971, allocations: 102.8 kB / 0.8043 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.5972, allocations: 101 kB / 0.8044 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5972, allocations: 4.047 kB / 0.8044 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.5973, allocations: 3.984 kB / 0.8044 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006069/0.5979, allocations: 0.677 MB / 0.8051 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.6, allocations: 1.588 MB / 0.8066 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.6, allocations: 4.5 kB / 0.8066 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.6004, allocations: 91.89 kB / 0.8067 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/0.6004, allocations: 15.88 kB / 0.8067 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.6004, allocations: 8 kB / 0.8067 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.6005, allocations: 11.94 kB / 0.8067 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.6005, allocations: 4 kB / 0.8067 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009562/0.6014, allocations: 0.8411 MB / 0.8076 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.6017, allocations: 239.8 kB / 0.8078 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.6019, allocations: 19.98 kB / 0.8078 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006957/0.6026, allocations: 57.06 kB / 0.8079 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.6026, allocations: 39.84 kB / 0.8079 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/0.6027, allocations: 27.98 kB / 0.8079 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009268/0.6036, allocations: 0.7074 MB / 0.8086 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6036, allocations: 0 / 0.8086 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007225/0.6043, allocations: 256 kB / 0.8089 GB, free: 9.262 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001475/0.6058, allocations: 1.495 MB / 0.8103 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008331/0.6067, allocations: 0.4892 MB / 0.8108 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.6067, allocations: 4 kB / 0.8108 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.6069, allocations: 194 kB / 0.811 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/0.6101, allocations: 0.6073 MB / 0.8116 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.6204, allocations: 8.304 MB / 0.8197 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006214/0.621, allocations: 1.103 MB / 0.8208 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000786/0.6218, allocations: 236.2 kB / 0.821 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/0.6223, allocations: 343.3 kB / 0.8213 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of SimCode: time 7.22e-07/0.6223, allocations: 0 / 0.8213 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4469/1.069, allocations: 27.01 MB / 0.8477 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002987/1.069, allocations: 256.4 kB / 0.8479 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.257/3.326, allocations: 0 / 0.8479 GB, free: 1.156 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)