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.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.001335/0.001335, allocations: 89.06 kB / 19.65 MB, free: 272 kB / 13.93 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.00148/0.00148, allocations: 177 kB / 23.02 MB, free: 1.539 MB / 18.57 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 0.9464/0.9464, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7512/0.7512, allocations: 154.6 MB / 414.5 MB, free: 0.6289 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.321e-05, allocations: 5.188 kB / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.152/0.1521, allocations: 149.6 MB / 0.6665 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004975/0.157, allocations: 3.246 MB / 0.6696 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008329/0.1579, allocations: 43.62 kB / 0.6697 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007413/0.1586, allocations: 254.1 kB / 0.6699 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.1602, allocations: 0.8857 MB / 0.6708 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.1614, allocations: 0.7171 MB / 0.6715 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002047/0.1634, allocations: 2.023 MB / 0.6735 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008523/0.1643, allocations: 0.6374 MB / 0.6741 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.1662, allocations: 1.126 MB / 0.6752 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008256/0.167, allocations: 0.5959 MB / 0.6758 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.1671, allocations: 80 kB / 0.6759 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007026/0.1678, allocations: 391 kB / 0.6762 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002864/0.1681, allocations: 414.8 kB / 0.6766 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003403/0.1685, allocations: 355.2 kB / 0.677 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.1698, allocations: 0.9577 MB / 0.6779 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1698, allocations: 0 / 0.6779 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.634e-06/0.1698, allocations: 0 / 0.6779 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.191e-05/0.1698, allocations: 0 / 0.6779 GB, free: 0.5117 MB / 0.6355 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.2711/0.4409, allocations: 1.257 MB / 0.6791 GB, free: 61.94 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/0.441, allocations: 12.55 kB / 0.6791 GB, free: 61.94 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008156/0.4418, allocations: 281.7 kB / 0.6794 GB, free: 61.88 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007047/0.4425, allocations: 0.6339 MB / 0.68 GB, free: 61.67 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.4425, allocations: 56.62 kB / 0.6801 GB, free: 61.67 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.2e-05/0.4426, allocations: 79.81 kB / 0.6802 GB, free: 61.67 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007193/0.4433, allocations: 0.8723 MB / 0.681 GB, free: 61.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.4434, allocations: 3.938 kB / 0.681 GB, free: 61.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.733e-05/0.4434, allocations: 29.41 kB / 0.681 GB, free: 61.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.213e-05/0.4434, allocations: 33.38 kB / 0.6811 GB, free: 61.15 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004181/0.4439, allocations: 297 kB / 0.6814 GB, free: 61.14 MB / 0.6355 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.002165/0.446, allocations: 4.632 MB / 0.6859 GB, free: 57.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.4464, allocations: 304.7 kB / 0.6862 GB, free: 57.56 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.4466, allocations: 132.5 kB / 0.6863 GB, free: 57.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.4467, allocations: 24.06 kB / 0.6863 GB, free: 57.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.4467, allocations: 44.25 kB / 0.6864 GB, free: 57.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=42): time 1.954e-06/0.4467, allocations: 1 kB / 0.6864 GB, free: 57.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.001374/0.4481, allocations: 1.122 MB / 0.6875 GB, free: 56.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.4481, allocations: 111.8 kB / 0.6876 GB, free: 56.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.4484, allocations: 0.542 MB / 0.6881 GB, free: 56.65 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.4485, allocations: 36.69 kB / 0.6881 GB, free: 56.62 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.4486, allocations: 495.4 kB / 0.6886 GB, free: 56.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.885e-05/0.4487, allocations: 168.2 kB / 0.6888 GB, free: 56.28 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.4488, allocations: 120.8 kB / 0.6889 GB, free: 56.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.197e-05/0.4489, allocations: 0.5481 MB / 0.6894 GB, free: 55.76 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.449, allocations: 78.11 kB / 0.6895 GB, free: 55.76 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.4492, allocations: 0.4911 MB / 0.69 GB, free: 55.25 MB / 0.6355 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.0005765/0.4498, allocations: 0.6075 MB / 0.6906 GB, free: 54.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4498, allocations: 3.469 kB / 0.6906 GB, free: 54.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000475/0.4502, allocations: 483.3 kB / 0.691 GB, free: 54.83 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4502, allocations: 9.25 kB / 0.691 GB, free: 54.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.4503, allocations: 6.25 kB / 0.691 GB, free: 54.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.4503, allocations: 9.781 kB / 0.691 GB, free: 54.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.4505, allocations: 122.6 kB / 0.6912 GB, free: 54.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.4505, allocations: 15.16 kB / 0.6912 GB, free: 54.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.4508, allocations: 21.8 kB / 0.6912 GB, free: 54.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.4508, allocations: 28.66 kB / 0.6912 GB, free: 54.83 MB / 0.6355 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.0001419/0.4509, allocations: 201.3 kB / 0.6914 GB, free: 54.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.852e-05/0.451, allocations: 87.83 kB / 0.6915 GB, free: 54.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.097e-05/0.4511, allocations: 71.22 kB / 0.6916 GB, free: 54.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.4511, allocations: 5.25 kB / 0.6916 GB, free: 54.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.4511, allocations: 0.625 kB / 0.6916 GB, free: 54.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002974/0.4514, allocations: 0.5401 MB / 0.6921 GB, free: 54.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.4526, allocations: 1.389 MB / 0.6935 GB, free: 53.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.4526, allocations: 6.188 kB / 0.6935 GB, free: 53.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.4529, allocations: 97.94 kB / 0.6936 GB, free: 53.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.4529, allocations: 6.188 kB / 0.6936 GB, free: 53.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.4529, allocations: 15.62 kB / 0.6936 GB, free: 53.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.323e-06/0.4529, allocations: 16.8 kB / 0.6936 GB, free: 53.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.4529, allocations: 5.812 kB / 0.6936 GB, free: 53.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004974/0.4534, allocations: 0.6543 MB / 0.6942 GB, free: 53.01 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.4535, allocations: 107.7 kB / 0.6943 GB, free: 52.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.109e-05/0.4536, allocations: 23.86 kB / 0.6944 GB, free: 52.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.4538, allocations: 16.03 kB / 0.6944 GB, free: 52.97 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.4538, allocations: 42.06 kB / 0.6944 GB, free: 52.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.4538, allocations: 18.09 kB / 0.6944 GB, free: 52.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002008/0.454, allocations: 343.4 kB / 0.6948 GB, free: 52.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.454, allocations: 0.7812 kB / 0.6948 GB, free: 52.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004675/0.4545, allocations: 198.2 kB / 0.695 GB, free: 52.84 MB / 0.6355 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.000344/0.4548, allocations: 177 kB / 0.6951 GB, free: 52.74 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003807/0.4552, allocations: 290.3 kB / 0.6954 GB, free: 52.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4552, allocations: 0.875 kB / 0.6954 GB, free: 52.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.4553, allocations: 142.3 kB / 0.6955 GB, free: 52.71 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008583/0.4562, allocations: 345.7 kB / 0.6959 GB, free: 52.71 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.4579, allocations: 1.487 MB / 0.6973 GB, free: 51.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.458, allocations: 206.8 kB / 0.6975 GB, free: 51.83 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003374/0.4583, allocations: 151.2 kB / 0.6977 GB, free: 51.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.4584, allocations: 54.25 kB / 0.6977 GB, free: 51.82 MB / 0.6355 GB Notification: Performance of SimCode: time 1.493e-06/0.4584, allocations: 0.5469 kB / 0.6977 GB, free: 51.82 MB / 0.6355 GB Notification: Performance of Templates: time 0.01531/0.4738, allocations: 12.63 MB / 0.71 GB, free: 50.77 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.439017047174275]