Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 106.1 kB / 15.98 MB, free: 6.285 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.001167/0.001167, allocations: 200.9 kB / 16.91 MB, free: 6.141 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.318/1.318, allocations: 222.9 MB / 240.6 MB, free: 13.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8111/0.8111, allocations: 135.2 MB / 425.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 71.86 kB / 0.5056 GB, free: 8.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3349, allocations: 80.91 MB / 0.5846 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5058/0.8407, allocations: 184.8 MB / 0.765 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0136/0.8544, allocations: 12.96 MB / 0.7777 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.8557, allocations: 29.22 kB / 0.7777 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.8571, allocations: 374.4 kB / 0.7781 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002794/0.8599, allocations: 1.074 MB / 0.7791 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.8617, allocations: 0.64 MB / 0.7797 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002785/0.8645, allocations: 2.008 MB / 0.7817 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.8655, allocations: 0.8221 MB / 0.7825 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003731/0.8693, allocations: 1.77 MB / 0.7842 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.8712, allocations: 0.7058 MB / 0.7849 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.8714, allocations: 79.66 kB / 0.785 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.8731, allocations: 0.902 MB / 0.7859 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003478/0.8735, allocations: 388.7 kB / 0.7863 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005588/0.874, allocations: 0.4958 MB / 0.7867 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.8753, allocations: 1.133 MB / 0.7878 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.8753, allocations: 0 / 0.7878 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8753, allocations: 0.9375 kB / 0.7879 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.8753, allocations: 0 / 0.7879 GB, free: 1.312 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00164/0.8769, allocations: 1.23 MB / 0.7891 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.877, allocations: 11.14 kB / 0.7891 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.8781, allocations: 220.2 kB / 0.7893 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000834/0.8789, allocations: 0.6445 MB / 0.7899 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.879, allocations: 57.47 kB / 0.79 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.573e-05/0.8791, allocations: 75.59 kB / 0.79 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.8802, allocations: 0.936 MB / 0.7909 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.8802, allocations: 5.562 kB / 0.7909 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/0.8803, allocations: 29.44 kB / 0.791 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.353e-05/0.8803, allocations: 35.25 kB / 0.791 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007651/0.8811, allocations: 0.6121 MB / 0.7916 GB, free: 15.99 MB / 0.5919 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.004109/0.8852, allocations: 4.586 MB / 0.7961 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006248/0.8859, allocations: 0.5398 MB / 0.7966 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.8861, allocations: 248.9 kB / 0.7969 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/0.8863, allocations: 99.75 kB / 0.7969 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.8864, allocations: 40.06 kB / 0.797 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.565e-06/0.8864, allocations: 1 kB / 0.797 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002581/0.889, allocations: 1.585 MB / 0.7985 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.8891, allocations: 118.9 kB / 0.7986 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006836/0.8897, allocations: 0.718 MB / 0.7993 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/0.8898, allocations: 35.83 kB / 0.7994 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.8901, allocations: 414.8 kB / 0.7998 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.8902, allocations: 162.7 kB / 0.7999 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.8904, allocations: 121.8 kB / 0.8 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.8905, allocations: 327.3 kB / 0.8004 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.8907, allocations: 189.2 kB / 0.8005 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.8912, allocations: 415.2 kB / 0.8009 GB, free: 10.73 MB / 0.5919 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/0.8931, allocations: 1.171 MB / 0.8021 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.8931, allocations: 4.312 kB / 0.8021 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008896/0.894, allocations: 0.6636 MB / 0.8027 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.894, allocations: 8.094 kB / 0.8027 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.8941, allocations: 13.06 kB / 0.8028 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.8941, allocations: 10.19 kB / 0.8028 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004122/0.8945, allocations: 126.6 kB / 0.8029 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.8945, allocations: 11.34 kB / 0.8029 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006266/0.8952, allocations: 56.77 kB / 0.8029 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.571e-05/0.8952, allocations: 26.09 kB / 0.803 GB, free: 10.31 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003608/0.8956, allocations: 272.5 kB / 0.8032 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.8957, allocations: 79.72 kB / 0.8033 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.8959, allocations: 97.91 kB / 0.8034 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.8959, allocations: 3.25 kB / 0.8034 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.8959, allocations: 2.875 kB / 0.8034 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000652/0.8966, allocations: 0.6959 MB / 0.8041 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.8987, allocations: 1.64 MB / 0.8057 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.8987, allocations: 3.938 kB / 0.8057 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.8991, allocations: 106 kB / 0.8058 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.8991, allocations: 6.125 kB / 0.8058 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.8992, allocations: 24.2 kB / 0.8058 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.8992, allocations: 11.91 kB / 0.8058 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.8992, allocations: 6.25 kB / 0.8058 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009712/0.9001, allocations: 0.8872 MB / 0.8067 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/0.9004, allocations: 206.9 kB / 0.8069 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.9005, allocations: 21.81 kB / 0.8069 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/0.901, allocations: 34.94 kB / 0.807 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.9011, allocations: 39.97 kB / 0.807 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.9011, allocations: 24.41 kB / 0.807 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000543/0.9017, allocations: 0.5065 MB / 0.8075 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.52e-07/0.9017, allocations: 0.8125 kB / 0.8075 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006822/0.9024, allocations: 202.9 kB / 0.8077 GB, free: 8.535 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.0004683/0.9028, allocations: 198.5 kB / 0.8079 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000819/0.9037, allocations: 0.5103 MB / 0.8084 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.9037, allocations: 0.875 kB / 0.8084 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.904, allocations: 212.8 kB / 0.8086 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/0.9059, allocations: 483.8 kB / 0.8091 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.9085, allocations: 2.004 MB / 0.811 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/0.909, allocations: 1.022 MB / 0.812 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.9092, allocations: 73.55 kB / 0.8121 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.9092, allocations: 0 / 0.8121 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of Templates: time 0.01831/0.9275, allocations: 12.94 MB / 0.8247 GB, free: 2.488 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)