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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 97.64 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.01032/0.01032, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.522/1.522, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8231/0.8231, allocations: 132.4 MB / 423.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004315, allocations: 17.94 kB / 0.504 GB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.462/0.4624, allocations: 81.58 MB / 0.5837 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2262/0.6887, allocations: 185.6 MB / 0.7649 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009934/0.6987, allocations: 5.677 MB / 0.7705 GB, free: 500 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.7003, allocations: 35.75 kB / 0.7705 GB, free: 464 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.7019, allocations: 0.4897 MB / 0.771 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004954/0.7069, allocations: 1.513 MB / 0.7724 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003413/0.7103, allocations: 1.074 MB / 0.7735 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004835/0.7151, allocations: 3.479 MB / 0.7769 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/0.7167, allocations: 0.8236 MB / 0.7777 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002577/0.7193, allocations: 0.8634 MB / 0.7785 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002484/0.7218, allocations: 0.8036 MB / 0.7793 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002892/0.7221, allocations: 40 kB / 0.7794 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004104/0.7262, allocations: 1.707 MB / 0.781 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008091/0.727, allocations: 426.8 kB / 0.7814 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001284/0.7283, allocations: 0.5692 MB / 0.782 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003649/0.732, allocations: 2.111 MB / 0.7841 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.732, allocations: 0 / 0.7841 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.944e-06/0.732, allocations: 0 / 0.7841 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.732, allocations: 0 / 0.7841 GB, free: 2.516 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.002056/0.7341, allocations: 1.25 MB / 0.7853 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.7342, allocations: 12.03 kB / 0.7853 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/0.7361, allocations: 338.3 kB / 0.7856 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.7373, allocations: 0.7765 MB / 0.7864 GB, free: 48 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003933/0.7377, allocations: 133.9 kB / 0.7865 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.7379, allocations: 87.98 kB / 0.7866 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.7397, allocations: 1.068 MB / 0.7876 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.7397, allocations: 3.906 kB / 0.7876 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.179e-05/0.7398, allocations: 40 kB / 0.7877 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.605e-05/0.7399, allocations: 33.94 kB / 0.7877 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/0.7415, allocations: 0.851 MB / 0.7885 GB, free: 13.8 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.005778/0.7473, allocations: 4.066 MB / 0.7925 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006228/0.7479, allocations: 374.8 kB / 0.7929 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/0.7482, allocations: 217.3 kB / 0.7931 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002046/0.7485, allocations: 101 kB / 0.7932 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.7485, allocations: 46.44 kB / 0.7932 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=36): time 4.449e-06/0.7485, allocations: 4 kB / 0.7932 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of matching and sorting (n=38): time 0.002947/0.7515, allocations: 1.319 MB / 0.7945 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.7515, allocations: 59.41 kB / 0.7946 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.7532, allocations: 0.9959 MB / 0.7955 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.401e-05/0.7533, allocations: 41.7 kB / 0.7956 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004315/0.7537, allocations: 495.3 kB / 0.796 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.7539, allocations: 134 kB / 0.7962 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.754, allocations: 57.69 kB / 0.7962 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.7541, allocations: 326 kB / 0.7965 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005034/0.7547, allocations: 245.2 kB / 0.7968 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006464/0.7553, allocations: 422.9 kB / 0.7972 GB, free: 4.453 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.002582/0.7579, allocations: 1.186 MB / 0.7983 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.7579, allocations: 4 kB / 0.7983 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001708/0.7596, allocations: 0.7653 MB / 0.7991 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.7597, allocations: 4 kB / 0.7991 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.7597, allocations: 8 kB / 0.7991 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.7597, allocations: 8 kB / 0.7991 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/0.7603, allocations: 144 kB / 0.7992 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/0.7603, allocations: 11.94 kB / 0.7992 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.7615, allocations: 99.77 kB / 0.7993 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/0.7616, allocations: 24 kB / 0.7994 GB, free: 2.113 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.0005244/0.7621, allocations: 309.5 kB / 0.7997 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.7623, allocations: 102.8 kB / 0.7998 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.7625, allocations: 97.03 kB / 0.7999 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.7625, allocations: 4 kB / 0.7999 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.7625, allocations: 0 / 0.7999 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006906/0.7632, allocations: 0.6809 MB / 0.8005 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/0.7661, allocations: 1.578 MB / 0.8021 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.7661, allocations: 4 kB / 0.8021 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000406/0.7665, allocations: 92.33 kB / 0.8022 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.287e-05/0.7665, allocations: 15.94 kB / 0.8022 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.7666, allocations: 12 kB / 0.8022 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.7666, allocations: 4 kB / 0.8022 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.7666, allocations: 7.938 kB / 0.8022 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.7678, allocations: 0.8563 MB / 0.803 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006188/0.7685, allocations: 243.8 kB / 0.8033 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002993/0.7688, allocations: 15.98 kB / 0.8033 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.7698, allocations: 68.27 kB / 0.8033 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.023e-05/0.7699, allocations: 39.84 kB / 0.8034 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.7701, allocations: 27.98 kB / 0.8034 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001566/0.7716, allocations: 0.7074 MB / 0.8041 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6.11e-07/0.7716, allocations: 0 / 0.8041 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00132/0.773, allocations: 256 kB / 0.8043 GB, free: 12.73 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.0007645/0.7738, allocations: 200.6 kB / 0.8045 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001311/0.7751, allocations: 0.4921 MB / 0.805 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-05/0.7751, allocations: 0 / 0.805 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003542/0.7755, allocations: 196.8 kB / 0.8052 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004121/0.7796, allocations: 0.6073 MB / 0.8058 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.7835, allocations: 2.238 MB / 0.808 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000863/0.7844, allocations: 1.099 MB / 0.8091 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00116/0.7855, allocations: 248.4 kB / 0.8093 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.7859, allocations: 71.44 kB / 0.8094 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of SimCode: time 1.723e-06/0.7859, allocations: 0 / 0.8094 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of Templates: time 0.3762/1.162, allocations: 19.27 MB / 0.8282 GB, free: 215.5 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (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 & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)