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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006565/0.0006565, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004478/0.004479, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.34/1.34, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7395/0.7395, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002883/0.0002884, allocations: 12.56 kB / 0.5041 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3825, allocations: 81.57 MB / 0.5837 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1979/0.5804, allocations: 185.6 MB / 0.765 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008867/0.5893, allocations: 5.685 MB / 0.7705 GB, free: 400 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009512/0.5903, allocations: 35.75 kB / 0.7706 GB, free: 364 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.5916, allocations: 497.5 kB / 0.771 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003599/0.5953, allocations: 1.506 MB / 0.7725 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002756/0.598, allocations: 1.08 MB / 0.7736 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003779/0.6018, allocations: 3.483 MB / 0.777 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.603, allocations: 0.8275 MB / 0.7778 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.6045, allocations: 0.8556 MB / 0.7786 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.6062, allocations: 0.8075 MB / 0.7794 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.6063, allocations: 40 kB / 0.7794 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/0.6093, allocations: 1.707 MB / 0.7811 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000441/0.6098, allocations: 430.7 kB / 0.7815 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006198/0.6104, allocations: 0.5691 MB / 0.7821 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002472/0.6129, allocations: 2.103 MB / 0.7841 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6129, allocations: 0 / 0.7841 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.724e-06/0.6129, allocations: 0 / 0.7841 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.6129, allocations: 0 / 0.7841 GB, free: 2.426 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.002021/0.615, allocations: 1.256 MB / 0.7854 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.615, allocations: 16.03 kB / 0.7854 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001744/0.6152, allocations: 139.1 kB / 0.7855 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/0.6171, allocations: 342.3 kB / 0.7858 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.6183, allocations: 0.7727 MB / 0.7866 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003779/0.6187, allocations: 141.9 kB / 0.7867 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.6188, allocations: 84 kB / 0.7868 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.6206, allocations: 1.064 MB / 0.7878 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.6207, allocations: 0 / 0.7878 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.028e-05/0.6207, allocations: 43.98 kB / 0.7879 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.531e-05/0.6208, allocations: 33.98 kB / 0.7879 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.6224, allocations: 0.8509 MB / 0.7887 GB, free: 13.56 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.005566/0.628, allocations: 4.058 MB / 0.7927 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006485/0.6286, allocations: 374.8 kB / 0.7931 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.629, allocations: 221.3 kB / 0.7933 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002165/0.6292, allocations: 105 kB / 0.7934 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.6293, allocations: 42.5 kB / 0.7934 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=36): time 3.016e-06/0.6293, allocations: 0 / 0.7934 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of matching and sorting (n=38): time 0.002876/0.6322, allocations: 1.323 MB / 0.7947 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.6322, allocations: 55.41 kB / 0.7948 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.6336, allocations: 0.9998 MB / 0.7957 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/0.6337, allocations: 37.7 kB / 0.7958 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/0.634, allocations: 491.4 kB / 0.7962 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.6342, allocations: 138 kB / 0.7964 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.45e-05/0.6343, allocations: 57.69 kB / 0.7964 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.6344, allocations: 322 kB / 0.7967 GB, free: 4.945 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004797/0.6349, allocations: 245.2 kB / 0.797 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006147/0.6355, allocations: 422.9 kB / 0.7974 GB, free: 4.223 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.002507/0.638, allocations: 1.183 MB / 0.7985 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.638, allocations: 4 kB / 0.7985 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001425/0.6395, allocations: 0.7653 MB / 0.7993 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.6395, allocations: 4 kB / 0.7993 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.6395, allocations: 8 kB / 0.7993 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.6395, allocations: 8 kB / 0.7993 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005924/0.6401, allocations: 152 kB / 0.7994 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.155e-05/0.6402, allocations: 15.92 kB / 0.7995 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.6412, allocations: 91.78 kB / 0.7995 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.477e-05/0.6413, allocations: 24 kB / 0.7996 GB, free: 1.879 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.0004922/0.6418, allocations: 309.5 kB / 0.7999 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.6419, allocations: 102.8 kB / 0.8 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.6421, allocations: 105 kB / 0.8001 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.6422, allocations: 4 kB / 0.8001 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.6422, allocations: 0 / 0.8001 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007249/0.6429, allocations: 0.6809 MB / 0.8007 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/0.6454, allocations: 1.578 MB / 0.8023 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.6454, allocations: 4.5 kB / 0.8023 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004028/0.6459, allocations: 95.83 kB / 0.8024 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.6459, allocations: 11.94 kB / 0.8024 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.6459, allocations: 15.94 kB / 0.8024 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.6459, allocations: 7.984 kB / 0.8024 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6459, allocations: 4 kB / 0.8024 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.647, allocations: 0.8562 MB / 0.8032 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/0.6474, allocations: 239.8 kB / 0.8035 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.6475, allocations: 12 kB / 0.8035 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007054/0.6482, allocations: 60.55 kB / 0.8035 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.6483, allocations: 39.84 kB / 0.8036 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.103e-05/0.6483, allocations: 27.98 kB / 0.8036 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001018/0.6494, allocations: 0.7113 MB / 0.8043 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6494, allocations: 0 / 0.8043 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008473/0.6502, allocations: 252 kB / 0.8045 GB, free: 12.49 MB / 0.6387 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.001646/0.6519, allocations: 1.497 MB / 0.806 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000923/0.6528, allocations: 0.4894 MB / 0.8065 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.6528, allocations: 4.125 kB / 0.8065 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.6531, allocations: 184.4 kB / 0.8067 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003215/0.6563, allocations: 0.6148 MB / 0.8073 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.6679, allocations: 8.301 MB / 0.8154 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2895/0.9575, allocations: 1.091 MB / 0.8164 GB, free: 219 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001253/0.9588, allocations: 239.2 kB / 0.8167 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005741/0.9594, allocations: 344.7 kB / 0.817 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of SimCode: time 6.91e-07/0.9594, allocations: 0.5938 kB / 0.817 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04428/1.004, allocations: 27 MB / 0.8434 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001323/1.004, allocations: 247.4 kB / 0.8436 GB, free: 208.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.355/3.359, allocations: 0 / 0.8436 GB, free: 208.8 MB / 0.6387 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/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)