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.001471/0.001471, allocations: 104.5 kB / 15.98 MB, free: 6.352 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.001602/0.001602, allocations: 193.2 kB / 16.91 MB, free: 6.195 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.309/1.309, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7683/0.7683, allocations: 132.2 MB / 422.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.89 kB / 0.5019 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4598/0.4611, allocations: 80.19 MB / 0.5802 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6539/1.115, allocations: 184.8 MB / 0.7607 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01687/1.132, allocations: 12.96 MB / 0.7733 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/1.134, allocations: 32.14 kB / 0.7734 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001643/1.136, allocations: 365.4 kB / 0.7737 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00404/1.14, allocations: 1.087 MB / 0.7748 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002298/1.142, allocations: 0.6326 MB / 0.7754 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003375/1.145, allocations: 2.005 MB / 0.7774 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001573/1.147, allocations: 0.819 MB / 0.7782 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005213/1.152, allocations: 1.772 MB / 0.7799 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002263/1.155, allocations: 0.7018 MB / 0.7806 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002268/1.155, allocations: 81.81 kB / 0.7807 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002197/1.157, allocations: 0.9099 MB / 0.7815 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004736/1.157, allocations: 391 kB / 0.7819 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007422/1.158, allocations: 0.4993 MB / 0.7824 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/1.16, allocations: 1.116 MB / 0.7835 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.16, allocations: 4.25 kB / 0.7835 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/1.16, allocations: 0 / 0.7835 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.668e-05/1.16, allocations: 1 kB / 0.7835 GB, free: 1.387 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.001878/1.162, allocations: 1.233 MB / 0.7847 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.162, allocations: 10.44 kB / 0.7847 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/1.163, allocations: 211.9 kB / 0.7849 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000903/1.164, allocations: 0.6479 MB / 0.7856 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/1.164, allocations: 57.25 kB / 0.7856 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/1.164, allocations: 82.59 kB / 0.7857 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/1.165, allocations: 0.9252 MB / 0.7866 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/1.165, allocations: 5 kB / 0.7866 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.358e-05/1.165, allocations: 33.22 kB / 0.7866 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.588e-05/1.165, allocations: 28.59 kB / 0.7867 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008396/1.166, allocations: 0.625 MB / 0.7873 GB, free: 16.07 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.004065/1.17, allocations: 4.575 MB / 0.7917 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006359/1.171, allocations: 0.5397 MB / 0.7923 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/1.171, allocations: 249.3 kB / 0.7925 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001898/1.172, allocations: 106.1 kB / 0.7926 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/1.172, allocations: 46.17 kB / 0.7926 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/1.172, allocations: 0.5625 kB / 0.7926 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.00272/1.174, allocations: 1.581 MB / 0.7942 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/1.174, allocations: 115.7 kB / 0.7943 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007378/1.175, allocations: 0.7168 MB / 0.795 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/1.175, allocations: 34.98 kB / 0.795 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/1.175, allocations: 419.1 kB / 0.7954 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/1.176, allocations: 159.6 kB / 0.7956 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/1.176, allocations: 121 kB / 0.7957 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.176, allocations: 329.9 kB / 0.796 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/1.176, allocations: 187.2 kB / 0.7962 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004002/1.177, allocations: 411.9 kB / 0.7966 GB, free: 10.82 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.002009/1.179, allocations: 1.16 MB / 0.7977 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.179, allocations: 4 kB / 0.7977 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009326/1.18, allocations: 0.6689 MB / 0.7984 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/1.18, allocations: 10.19 kB / 0.7984 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.18, allocations: 5.5 kB / 0.7984 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/1.18, allocations: 15.62 kB / 0.7984 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/1.18, allocations: 129 kB / 0.7985 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/1.18, allocations: 11.09 kB / 0.7985 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006588/1.181, allocations: 52.02 kB / 0.7986 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-05/1.181, allocations: 34.88 kB / 0.7986 GB, free: 10.4 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.0003942/1.181, allocations: 275.6 kB / 0.7989 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/1.181, allocations: 78.5 kB / 0.799 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/1.181, allocations: 90.23 kB / 0.799 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/1.182, allocations: 10.03 kB / 0.799 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/1.182, allocations: 0.8438 kB / 0.7991 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006359/1.182, allocations: 0.7016 MB / 0.7997 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/1.184, allocations: 1.646 MB / 0.8013 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.184, allocations: 4.312 kB / 0.8013 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/1.185, allocations: 100.4 kB / 0.8014 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/1.185, allocations: 5.5 kB / 0.8014 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/1.185, allocations: 19.14 kB / 0.8015 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/1.185, allocations: 11.03 kB / 0.8015 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.185, allocations: 6.844 kB / 0.8015 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009929/1.186, allocations: 0.8976 MB / 0.8024 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002663/1.186, allocations: 197.7 kB / 0.8025 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/1.186, allocations: 19.23 kB / 0.8026 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004871/1.187, allocations: 43.92 kB / 0.8026 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/1.187, allocations: 33.72 kB / 0.8026 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/1.187, allocations: 30.36 kB / 0.8027 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005606/1.187, allocations: 0.5078 MB / 0.8032 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.187, allocations: 0 / 0.8032 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007394/1.188, allocations: 203.8 kB / 0.8034 GB, free: 8.613 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.0004532/1.189, allocations: 198.4 kB / 0.8035 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000792/1.189, allocations: 0.5142 MB / 0.8041 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.189, allocations: 3.188 kB / 0.8041 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/1.19, allocations: 212.5 kB / 0.8043 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/1.192, allocations: 482.9 kB / 0.8047 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/1.194, allocations: 1.997 MB / 0.8067 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/1.195, allocations: 1.029 MB / 0.8077 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/1.195, allocations: 70.08 kB / 0.8077 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of SimCode: time 4.2e-07/1.195, allocations: 0 / 0.8077 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of Templates: time 0.01956/1.214, allocations: 12.92 MB / 0.8204 GB, free: 2.957 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)