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.001231/0.001231, allocations: 73.09 kB / 20.66 MB, free: 3.848 MB / 18.57 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.001417/0.001417, allocations: 169 kB / 24.06 MB, free: 460 kB / 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.9986/0.9986, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.787/0.787, allocations: 154.6 MB / 415.6 MB, free: 0.5312 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 1.402e-06/1.402e-06, allocations: 0 / 0.5215 GB, free: 1.91 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.682e-05, allocations: 6.562 kB / 0.5216 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1415/0.1415, allocations: 146.8 MB / 0.665 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005516/0.147, allocations: 3.218 MB / 0.6681 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009965/0.148, allocations: 51.56 kB / 0.6682 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008252/0.1488, allocations: 258 kB / 0.6684 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.1507, allocations: 0.8818 MB / 0.6693 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.1521, allocations: 0.7093 MB / 0.67 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002414/0.1545, allocations: 2.027 MB / 0.6719 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009994/0.1555, allocations: 0.6373 MB / 0.6726 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/0.1576, allocations: 1.134 MB / 0.6737 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007407/0.1583, allocations: 0.5881 MB / 0.6742 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.451e-05/0.1584, allocations: 80 kB / 0.6743 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007218/0.1591, allocations: 387 kB / 0.6747 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003055/0.1595, allocations: 422.8 kB / 0.6751 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003302/0.1598, allocations: 355.2 kB / 0.6754 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.161, allocations: 0.9616 MB / 0.6764 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.161, allocations: 0 / 0.6764 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of FrontEnd: time 9.52e-07/0.161, allocations: 0 / 0.6764 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.161, allocations: 3.938 kB / 0.6764 GB, free: 3.027 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.001201/0.1622, allocations: 1.255 MB / 0.6776 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.1623, allocations: 8.031 kB / 0.6776 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006616/0.1629, allocations: 283.9 kB / 0.6779 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006196/0.1636, allocations: 0.6098 MB / 0.6785 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.1636, allocations: 62.12 kB / 0.6785 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.743e-05/0.1637, allocations: 83.94 kB / 0.6786 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3095/0.4732, allocations: 0.8253 MB / 0.6794 GB, free: 63.22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/0.4732, allocations: 6.75 kB / 0.6794 GB, free: 63.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.549e-05/0.4733, allocations: 28.22 kB / 0.6794 GB, free: 63.22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.834e-05/0.4733, allocations: 30.42 kB / 0.6795 GB, free: 63.22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004096/0.4737, allocations: 249.1 kB / 0.6797 GB, free: 63.21 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.002448/0.4762, allocations: 4.64 MB / 0.6842 GB, free: 59.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.4765, allocations: 286.7 kB / 0.6845 GB, free: 59.69 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.208e-05/0.4766, allocations: 107.4 kB / 0.6846 GB, free: 59.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.887e-05/0.4767, allocations: 32.28 kB / 0.6846 GB, free: 59.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.4767, allocations: 46.89 kB / 0.6847 GB, free: 59.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=42): time 2.345e-06/0.4767, allocations: 1.312 kB / 0.6847 GB, free: 59.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.001164/0.4779, allocations: 0.7114 MB / 0.6854 GB, free: 59.37 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.4779, allocations: 108.4 kB / 0.6855 GB, free: 59.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.4782, allocations: 0.5402 MB / 0.686 GB, free: 59.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.4782, allocations: 37.02 kB / 0.6861 GB, free: 59.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.4785, allocations: 0.4888 MB / 0.6865 GB, free: 58.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.23e-05/0.4785, allocations: 169.8 kB / 0.6867 GB, free: 58.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.4786, allocations: 121.8 kB / 0.6868 GB, free: 58.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4788, allocations: 0.5573 MB / 0.6874 GB, free: 58.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.357e-05/0.4789, allocations: 53.16 kB / 0.6874 GB, free: 58.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.4791, allocations: 492.9 kB / 0.6879 GB, free: 57.68 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.0005261/0.4796, allocations: 0.558 MB / 0.6884 GB, free: 57.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.4796, allocations: 2.844 kB / 0.6884 GB, free: 57.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004694/0.4801, allocations: 433.2 kB / 0.6888 GB, free: 57.26 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.4801, allocations: 8.656 kB / 0.6888 GB, free: 57.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.4801, allocations: 5.812 kB / 0.6889 GB, free: 57.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.4801, allocations: 12.03 kB / 0.6889 GB, free: 57.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.4804, allocations: 125.3 kB / 0.689 GB, free: 57.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.4804, allocations: 15.67 kB / 0.689 GB, free: 57.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.4807, allocations: 20.78 kB / 0.689 GB, free: 57.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/0.4807, allocations: 26.81 kB / 0.689 GB, free: 57.26 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.0001745/0.4809, allocations: 203.1 kB / 0.6892 GB, free: 57.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.481, allocations: 85.67 kB / 0.6893 GB, free: 57.06 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.282e-05/0.4811, allocations: 72.27 kB / 0.6894 GB, free: 57.05 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.4811, allocations: 3.469 kB / 0.6894 GB, free: 57.05 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.4811, allocations: 3 kB / 0.6894 GB, free: 57.05 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002969/0.4814, allocations: 0.5178 MB / 0.6899 GB, free: 56.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.4826, allocations: 1.247 MB / 0.6911 GB, free: 55.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4826, allocations: 3.781 kB / 0.6911 GB, free: 55.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.4829, allocations: 98.7 kB / 0.6912 GB, free: 55.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.4829, allocations: 5.844 kB / 0.6912 GB, free: 55.89 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.4829, allocations: 14.14 kB / 0.6912 GB, free: 55.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.4829, allocations: 8.312 kB / 0.6912 GB, free: 55.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.4829, allocations: 5.719 kB / 0.6912 GB, free: 55.89 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005974/0.4835, allocations: 0.6299 MB / 0.6919 GB, free: 55.47 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.4837, allocations: 100.8 kB / 0.692 GB, free: 55.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.4837, allocations: 19.45 kB / 0.692 GB, free: 55.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.4839, allocations: 13.78 kB / 0.692 GB, free: 55.44 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.4839, allocations: 39.94 kB / 0.692 GB, free: 55.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.484, allocations: 22.44 kB / 0.692 GB, free: 55.43 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002132/0.4842, allocations: 324.7 kB / 0.6924 GB, free: 55.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4842, allocations: 0 / 0.6924 GB, free: 55.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005669/0.4847, allocations: 205.6 kB / 0.6926 GB, free: 55.3 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.0003447/0.4851, allocations: 170.2 kB / 0.6927 GB, free: 55.22 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003829/0.4855, allocations: 266.2 kB / 0.693 GB, free: 55.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4855, allocations: 0 / 0.693 GB, free: 55.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.4856, allocations: 131.9 kB / 0.6931 GB, free: 55.19 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000912/0.4865, allocations: 345 kB / 0.6934 GB, free: 55.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.4885, allocations: 1.471 MB / 0.6949 GB, free: 54.39 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.4886, allocations: 209.9 kB / 0.6951 GB, free: 54.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003123/0.4889, allocations: 99.83 kB / 0.6952 GB, free: 54.31 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/0.4894, allocations: 336.4 kB / 0.6955 GB, free: 54.25 MB / 0.6355 GB Notification: Performance of SimCode: time 1.422e-06/0.4894, allocations: 0 / 0.6955 GB, free: 54.25 MB / 0.6355 GB Notification: Performance of Templates: time 0.01674/0.5061, allocations: 13.08 MB / 0.7083 GB, free: 53.23 MB / 0.6355 GB " [Timeout remaining time 659] 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.374044779222459]