Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001571/0.001571, allocations: 112.6 kB / 16.37 MB, free: 6 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.001783/0.001783, allocations: 196 kB / 17.31 MB, free: 5.613 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7948/0.7948, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001269, allocations: 67.89 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.362, allocations: 80.18 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5757/0.9378, allocations: 187.3 MB / 0.7644 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01641/0.9542, allocations: 13.05 MB / 0.7771 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.9558, allocations: 31.41 kB / 0.7771 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.9574, allocations: 435.7 kB / 0.7776 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003857/0.9613, allocations: 1.151 MB / 0.7787 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.9639, allocations: 0.705 MB / 0.7794 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003711/0.9677, allocations: 2.014 MB / 0.7813 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.9691, allocations: 0.8438 MB / 0.7822 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004688/0.9738, allocations: 1.81 MB / 0.7839 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.9757, allocations: 0.6651 MB / 0.7846 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.9758, allocations: 80.16 kB / 0.7847 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002032/0.9779, allocations: 0.8677 MB / 0.7855 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000385/0.9783, allocations: 384 kB / 0.7859 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006679/0.9789, allocations: 0.5003 MB / 0.7864 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002129/0.9811, allocations: 1.496 MB / 0.7878 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.9811, allocations: 0 / 0.7878 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.724e-06/0.9811, allocations: 0.9062 kB / 0.7878 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.9811, allocations: 0 / 0.7878 GB, free: 1.27 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.001825/0.983, allocations: 1.237 MB / 0.789 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.983, allocations: 10.5 kB / 0.789 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.9842, allocations: 218.8 kB / 0.7892 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.9853, allocations: 0.6771 MB / 0.7899 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.534e-05/0.9854, allocations: 64.62 kB / 0.79 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.9855, allocations: 75.16 kB / 0.79 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.9867, allocations: 0.933 MB / 0.7909 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.9868, allocations: 2.656 kB / 0.791 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.429e-05/0.9868, allocations: 33.47 kB / 0.791 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.983e-05/0.9869, allocations: 31.31 kB / 0.791 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000862/0.9877, allocations: 0.615 MB / 0.7916 GB, free: 15.94 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.004171/0.9919, allocations: 4.576 MB / 0.7961 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006911/0.9926, allocations: 0.5315 MB / 0.7966 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.9929, allocations: 250.3 kB / 0.7968 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.9931, allocations: 101.4 kB / 0.7969 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.9932, allocations: 39.66 kB / 0.797 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.575e-06/0.9932, allocations: 0 / 0.797 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002566/0.9958, allocations: 1.599 MB / 0.7985 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.9959, allocations: 110.4 kB / 0.7986 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007272/0.9966, allocations: 0.7151 MB / 0.7993 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/0.9966, allocations: 40.2 kB / 0.7994 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.9969, allocations: 413.4 kB / 0.7998 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.9971, allocations: 164 kB / 0.7999 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.9972, allocations: 116 kB / 0.8 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.9974, allocations: 330.4 kB / 0.8004 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.9976, allocations: 189.6 kB / 0.8005 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/0.998, allocations: 410.9 kB / 0.8009 GB, free: 10.68 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.001982/1, allocations: 1.166 MB / 0.8021 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1, allocations: 0 / 0.8021 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008915/1.001, allocations: 0.6736 MB / 0.8027 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/1.001, allocations: 6.344 kB / 0.8027 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/1.001, allocations: 11.91 kB / 0.8027 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/1.001, allocations: 15.19 kB / 0.8028 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004425/1.001, allocations: 123.1 kB / 0.8029 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/1.002, allocations: 13.62 kB / 0.8029 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005483/1.002, allocations: 28.19 kB / 0.8029 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/1.002, allocations: 27.62 kB / 0.8029 GB, free: 10.27 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.0003711/1.003, allocations: 274 kB / 0.8032 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/1.003, allocations: 87.28 kB / 0.8033 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/1.003, allocations: 92.55 kB / 0.8034 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.003, allocations: 4.906 kB / 0.8034 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/1.003, allocations: 3.406 kB / 0.8034 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006952/1.004, allocations: 0.7018 MB / 0.8041 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002379/1.006, allocations: 1.636 MB / 0.8057 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/1.006, allocations: 5.438 kB / 0.8057 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000414/1.006, allocations: 103.3 kB / 0.8058 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/1.006, allocations: 5.031 kB / 0.8058 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/1.006, allocations: 23.53 kB / 0.8058 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/1.006, allocations: 10.84 kB / 0.8058 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.006, allocations: 3.5 kB / 0.8058 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/1.007, allocations: 0.9007 MB / 0.8067 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003077/1.008, allocations: 208.1 kB / 0.8069 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.663e-05/1.008, allocations: 21.95 kB / 0.8069 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/1.008, allocations: 15.03 kB / 0.8069 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/1.008, allocations: 43.98 kB / 0.807 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/1.008, allocations: 20.77 kB / 0.807 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005976/1.009, allocations: 0.5137 MB / 0.8075 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.009, allocations: 0 / 0.8075 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007539/1.01, allocations: 201.8 kB / 0.8077 GB, free: 8.48 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.0004743/1.01, allocations: 201.8 kB / 0.8079 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007141/1.011, allocations: 481.5 kB / 0.8083 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.011, allocations: 4.031 kB / 0.8083 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002649/1.011, allocations: 210.5 kB / 0.8085 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/1.013, allocations: 474.8 kB / 0.809 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/1.016, allocations: 1.645 MB / 0.8106 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005722/1.016, allocations: 1.032 MB / 0.8116 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006026/1.017, allocations: 205.2 kB / 0.8118 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/1.017, allocations: 61.44 kB / 0.8119 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of SimCode: time 1.061e-06/1.017, allocations: 0 / 0.8119 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of Templates: time 0.02525/1.042, allocations: 15.06 MB / 0.8266 GB, free: 1.336 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)