Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 177 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8165/0.8165, allocations: 133.6 MB / 141.6 MB, free: 2.875 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 221.5 MB / 395.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009809/0.0009809, allocations: 103.4 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.071e-05/2.066e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5023/0.5024, allocations: 82.3 MB / 0.6339 GB, free: 40.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.806/5.308, allocations: 1.882 GB / 2.516 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/5.309, allocations: 87.27 kB / 2.516 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.788/7.097, allocations: 0.5653 GB / 3.081 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.824e-06/7.097, allocations: 0 / 3.081 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001033/7.097, allocations: 31.28 kB / 3.081 GB, free: 78.2 MB / 0.6823 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.002856/7.1, allocations: 1.252 MB / 3.083 GB, free: 76.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/7.1, allocations: 12.03 kB / 3.083 GB, free: 76.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/7.102, allocations: 318.3 kB / 3.083 GB, free: 76.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/7.104, allocations: 0.7977 MB / 3.084 GB, free: 75.76 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003417/7.104, allocations: 101.9 kB / 3.084 GB, free: 75.66 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/7.105, allocations: 51.95 kB / 3.084 GB, free: 75.61 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001179/7.106, allocations: 0.6755 MB / 3.085 GB, free: 74.94 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/7.107, allocations: 0.8715 MB / 3.085 GB, free: 74.03 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/7.107, allocations: 3.938 kB / 3.085 GB, free: 74.02 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.179e-05/7.107, allocations: 0 / 3.085 GB, free: 74.02 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/7.107, allocations: 41.98 kB / 3.085 GB, free: 73.98 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.004621/7.112, allocations: 3.795 MB / 3.089 GB, free: 69.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/7.112, allocations: 357.5 kB / 3.09 GB, free: 69.62 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/7.113, allocations: 192.8 kB / 3.09 GB, free: 69.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/7.113, allocations: 97.09 kB / 3.09 GB, free: 69.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/7.113, allocations: 50.5 kB / 3.09 GB, free: 69.26 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 1.963e-06/7.113, allocations: 0 / 3.09 GB, free: 69.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=38): time 0.002034/7.115, allocations: 1.09 MB / 3.091 GB, free: 68.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/7.115, allocations: 55.41 kB / 3.091 GB, free: 68.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005952/7.115, allocations: 0.5622 MB / 3.092 GB, free: 67.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.931e-05/7.115, allocations: 25.7 kB / 3.092 GB, free: 67.45 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/7.116, allocations: 0.4944 MB / 3.092 GB, free: 66.95 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.369e-05/7.116, allocations: 134 kB / 3.092 GB, free: 66.82 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/7.116, allocations: 4 kB / 3.092 GB, free: 66.81 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.458e-05/7.116, allocations: 374.8 kB / 3.093 GB, free: 66.44 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/7.116, allocations: 193.5 kB / 3.093 GB, free: 66.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/7.116, allocations: 368.7 kB / 3.093 GB, free: 65.81 MB / 0.6823 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.001606/7.118, allocations: 0.6942 MB / 3.094 GB, free: 65.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/7.118, allocations: 0 / 3.094 GB, free: 65.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008556/7.119, allocations: 0.6132 MB / 3.094 GB, free: 64.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/7.119, allocations: 4 kB / 3.094 GB, free: 64.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/7.119, allocations: 8 kB / 3.094 GB, free: 64.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/7.119, allocations: 11.95 kB / 3.094 GB, free: 64.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005483/7.12, allocations: 148.2 kB / 3.094 GB, free: 64.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/7.12, allocations: 8 kB / 3.095 GB, free: 64.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009612/7.121, allocations: 83.69 kB / 3.095 GB, free: 64.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/7.121, allocations: 31.92 kB / 3.095 GB, free: 64.19 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001406/7.121, allocations: 128.7 kB / 3.095 GB, free: 64.06 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005255/7.121, allocations: 388.2 kB / 3.095 GB, free: 63.67 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/7.121, allocations: 75.11 kB / 3.095 GB, free: 63.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/7.122, allocations: 79.23 kB / 3.095 GB, free: 63.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/7.122, allocations: 4 kB / 3.095 GB, free: 63.52 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/7.122, allocations: 3.984 kB / 3.095 GB, free: 63.51 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000422/7.122, allocations: 0.6404 MB / 3.096 GB, free: 62.79 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/7.124, allocations: 1.428 MB / 3.097 GB, free: 61.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/7.124, allocations: 0 / 3.097 GB, free: 61.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003872/7.124, allocations: 88.39 kB / 3.097 GB, free: 61.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/7.124, allocations: 12 kB / 3.097 GB, free: 61.18 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/7.124, allocations: 8 kB / 3.097 GB, free: 61.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/7.124, allocations: 7.938 kB / 3.097 GB, free: 61.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/7.125, allocations: 7.953 kB / 3.097 GB, free: 61.16 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008072/7.125, allocations: 0.9613 MB / 3.098 GB, free: 60.02 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/7.126, allocations: 216.1 kB / 3.099 GB, free: 59.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/7.126, allocations: 11.98 kB / 3.099 GB, free: 59.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006536/7.126, allocations: 51.89 kB / 3.099 GB, free: 59.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/7.126, allocations: 31.86 kB / 3.099 GB, free: 59.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/7.126, allocations: 28.05 kB / 3.099 GB, free: 59.67 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004103/7.127, allocations: 431.1 kB / 3.099 GB, free: 59.25 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/7.127, allocations: 0 / 3.099 GB, free: 59.25 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001024/7.128, allocations: 332 kB / 3.099 GB, free: 58.93 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002698/7.131, allocations: 4.019 MB / 3.103 GB, free: 54.87 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005905/7.131, allocations: 427.3 kB / 3.104 GB, free: 54.45 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/7.131, allocations: 0 / 3.104 GB, free: 54.45 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/7.131, allocations: 169.2 kB / 3.104 GB, free: 54.29 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/7.133, allocations: 407.2 kB / 3.104 GB, free: 53.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/7.136, allocations: 1.594 MB / 3.106 GB, free: 52.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/7.136, allocations: 1.121 MB / 3.107 GB, free: 51.05 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007074/7.137, allocations: 194.2 kB / 3.107 GB, free: 50.86 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003442/7.137, allocations: 335.3 kB / 3.107 GB, free: 50.54 MB / 0.6823 GB Notification: Performance of SimCode: time 3.61e-07/7.137, allocations: 0 / 3.107 GB, free: 50.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05024/7.187, allocations: 30.12 MB / 3.137 GB, free: 20.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000139/7.188, allocations: 177.9 kB / 3.137 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.959/10.15, allocations: 0 / 3.137 GB, free: 20.41 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)