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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007812/0.0007812, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001143/0.001925, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001542/0.00262, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.102/1.102, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09374/1.196, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.796/0.796, allocations: 155.3 MB / 399.5 MB, free: 15.82 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2912/1.087, allocations: 49.14 MB / 448.6 MB, free: 5.898 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 450 MB, free: 4.559 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.581e-05, allocations: 3.656 kB / 450 MB, free: 4.555 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1474/0.1475, allocations: 149.5 MB / 0.5854 GB, free: 15.03 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.005167/0.1526, allocations: 3.315 MB / 0.5886 GB, free: 11.71 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000415/0.153, allocations: 47.62 kB / 0.5887 GB, free: 11.66 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004569/0.1535, allocations: 254.1 kB / 0.5889 GB, free: 11.41 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.1546, allocations: 0.8818 MB / 0.5898 GB, free: 10.52 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000866/0.1555, allocations: 0.7048 MB / 0.5905 GB, free: 9.82 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001574/0.1571, allocations: 2.012 MB / 0.5924 GB, free: 7.805 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009216/0.158, allocations: 0.6633 MB / 0.5931 GB, free: 7.133 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.1593, allocations: 1.175 MB / 0.5942 GB, free: 5.992 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005796/0.1599, allocations: 0.557 MB / 0.5948 GB, free: 5.434 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 8.773e-05/0.16, allocations: 80 kB / 0.5948 GB, free: 5.355 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005669/0.1605, allocations: 395 kB / 0.5952 GB, free: 4.969 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000233/0.1608, allocations: 367.1 kB / 0.5956 GB, free: 4.609 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.161, allocations: 291.4 kB / 0.5958 GB, free: 4.324 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0008719/0.1619, allocations: 0.8837 MB / 0.5967 GB, free: 3.438 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.1619, allocations: 0 / 0.5967 GB, free: 3.438 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1619, allocations: 0 / 0.5967 GB, free: 3.438 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.377e-05/0.1619, allocations: 0 / 0.5967 GB, free: 3.438 MB / 0.573 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.001088/0.163, allocations: 1.327 MB / 0.598 GB, free: 2.082 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.42e-05/0.163, allocations: 12.02 kB / 0.598 GB, free: 2.07 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000621/0.1636, allocations: 337.5 kB / 0.5983 GB, free: 1.723 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005934/0.1642, allocations: 0.5434 MB / 0.5989 GB, free: 1.148 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.1642, allocations: 62.12 kB / 0.5989 GB, free: 1.09 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.368e-05/0.1643, allocations: 83.98 kB / 0.599 GB, free: 1.008 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005662/0.1649, allocations: 0.7641 MB / 0.5998 GB, free: 128 kB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.1649, allocations: 3.938 kB / 0.5998 GB, free: 124 kB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.1649, allocations: 36 kB / 0.5998 GB, free: 88 kB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.165, allocations: 29.3 kB / 0.5998 GB, free: 60 kB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.1653, allocations: 264.1 kB / 0.6001 GB, free: 15.79 MB / 0.5886 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.002027/0.1673, allocations: 3.27 MB / 0.6033 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.1676, allocations: 394.2 kB / 0.6036 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.911e-05/0.1677, allocations: 99.67 kB / 0.6037 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.631e-05/0.1678, allocations: 24.31 kB / 0.6038 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.1678, allocations: 50.83 kB / 0.6038 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=42): time 1.382e-06/0.1678, allocations: 0 / 0.6038 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of matching and sorting (n=44): time 0.001/0.1688, allocations: 0.6605 MB / 0.6045 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.1688, allocations: 111.1 kB / 0.6046 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.1691, allocations: 479 kB / 0.605 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.1691, allocations: 37.64 kB / 0.6051 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.1693, allocations: 381.2 kB / 0.6054 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.386e-05/0.1694, allocations: 166.6 kB / 0.6056 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.1695, allocations: 114.2 kB / 0.6057 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.1696, allocations: 370.7 kB / 0.606 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-05/0.1697, allocations: 60.05 kB / 0.6061 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.1699, allocations: 392.7 kB / 0.6065 GB, free: 8.852 MB / 0.5886 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.0004812/0.1703, allocations: 0.5052 MB / 0.607 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1703, allocations: 4 kB / 0.607 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0003344/0.1707, allocations: 362.4 kB / 0.6073 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.1707, allocations: 12.03 kB / 0.6073 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1707, allocations: 4 kB / 0.6073 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1707, allocations: 12 kB / 0.6073 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.171, allocations: 139.8 kB / 0.6075 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.171, allocations: 11.94 kB / 0.6075 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.1712, allocations: 20 kB / 0.6075 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.1712, allocations: 27.98 kB / 0.6075 GB, free: 7.664 MB / 0.5886 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 (73): * Single equations (assignments): 73 * 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.0001339/0.1714, allocations: 152.4 kB / 0.6077 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.617e-05/0.1714, allocations: 63.94 kB / 0.6077 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.977e-05/0.1715, allocations: 70.25 kB / 0.6078 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1715, allocations: 4 kB / 0.6078 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1715, allocations: 0 / 0.6078 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002372/0.1717, allocations: 479.5 kB / 0.6083 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009523/0.1727, allocations: 1.041 MB / 0.6093 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1727, allocations: 4 kB / 0.6093 GB, free: 5.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.173, allocations: 122.6 kB / 0.6094 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.1731, allocations: 87.53 kB / 0.6095 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1731, allocations: 8.438 kB / 0.6095 GB, free: 5.465 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.1731, allocations: 8 kB / 0.6095 GB, free: 5.457 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.1731, allocations: 19.92 kB / 0.6095 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1731, allocations: 4 kB / 0.6095 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004121/0.1735, allocations: 0.5423 MB / 0.6101 GB, free: 4.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.1736, allocations: 16.11 kB / 0.6101 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.1738, allocations: 16 kB / 0.6101 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.1738, allocations: 39.83 kB / 0.6101 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.1738, allocations: 19.98 kB / 0.6101 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001451/0.174, allocations: 208.3 kB / 0.6103 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.174, allocations: 0 / 0.6103 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003905/0.1743, allocations: 199.9 kB / 0.6105 GB, free: 4.332 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,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 (44): * Single equations (assignments): 44 * 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.0002932/0.1746, allocations: 167.8 kB / 0.6107 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002746/0.1749, allocations: 264.8 kB / 0.6109 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.627e-05/0.1749, allocations: 12 kB / 0.611 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.1751, allocations: 227.9 kB / 0.6112 GB, free: 3.676 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.1764, allocations: 2.168 MB / 0.6133 GB, free: 1.109 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/0.1802, allocations: 1.466 MB / 0.6147 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.1803, allocations: 202.4 kB / 0.6149 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002635/0.1806, allocations: 101.4 kB / 0.615 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004728/0.1811, allocations: 275.1 kB / 0.6153 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of SimCode: time 1.232e-06/0.1811, allocations: 0 / 0.6153 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of Templates: time 0.0155/0.1966, allocations: 13.39 MB / 0.6283 GB, free: 2.004 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.197287614457309]