Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.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.001196/0.001196, allocations: 69.89 kB / 20.65 MB, free: 3.844 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.001365/0.001365, allocations: 173 kB / 24.06 MB, free: 448 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.9612/0.9612, allocations: 177.1 MB / 204.5 MB, free: 5.531 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.807/0.807, allocations: 154.6 MB / 415.6 MB, free: 0.5391 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.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.534e-06/2.534e-06, allocations: 4 kB / 0.5215 GB, free: 1.914 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.247e-05, allocations: 4.938 kB / 0.5216 GB, free: 1.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.1452/0.1452, allocations: 149.1 MB / 0.6672 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.007837/0.1531, allocations: 4.105 MB / 0.6712 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.1543, allocations: 51.56 kB / 0.6713 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.1553, allocations: 282 kB / 0.6715 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002912/0.1582, allocations: 1.278 MB / 0.6728 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.1602, allocations: 0.8143 MB / 0.6736 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003417/0.1636, allocations: 2.588 MB / 0.6761 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.165, allocations: 0.8266 MB / 0.6769 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003066/0.1681, allocations: 1.566 MB / 0.6784 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/0.1694, allocations: 0.8336 MB / 0.6792 GB, free: 108 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.1695, allocations: 104 kB / 0.6793 GB, free: 4 kB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3524/0.5219, allocations: 429.7 kB / 0.6798 GB, free: 51.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005894/0.5225, allocations: 0.5376 MB / 0.6803 GB, free: 51.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008043/0.5233, allocations: 461.8 kB / 0.6807 GB, free: 51.07 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.5253, allocations: 1.207 MB / 0.6819 GB, free: 51.03 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.5253, allocations: 3.812 kB / 0.6819 GB, free: 51.03 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.093e-06/0.5253, allocations: 1.766 kB / 0.6819 GB, free: 51.03 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.121e-05/0.5254, allocations: 0.75 kB / 0.6819 GB, free: 51.03 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.001857/0.5272, allocations: 1.482 MB / 0.6834 GB, free: 50.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.5273, allocations: 10.52 kB / 0.6834 GB, free: 50.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009241/0.5282, allocations: 339.6 kB / 0.6837 GB, free: 50.15 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000929/0.5291, allocations: 0.6982 MB / 0.6844 GB, free: 49.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.5292, allocations: 72.72 kB / 0.6844 GB, free: 49.87 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.639e-05/0.5292, allocations: 99.55 kB / 0.6845 GB, free: 49.87 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008116/0.5301, allocations: 0.9145 MB / 0.6854 GB, free: 49.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.5301, allocations: 0 / 0.6854 GB, free: 49.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.206e-05/0.5301, allocations: 38.5 kB / 0.6855 GB, free: 49.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.001e-05/0.5302, allocations: 32.56 kB / 0.6855 GB, free: 49.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004478/0.5306, allocations: 312 kB / 0.6858 GB, free: 49.38 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.00302/0.5336, allocations: 4.692 MB / 0.6904 GB, free: 46.31 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.534, allocations: 251.3 kB / 0.6906 GB, free: 46.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.5341, allocations: 127 kB / 0.6907 GB, free: 46.26 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.5344, allocations: 53.33 kB / 0.6908 GB, free: 46.26 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.5344, allocations: 45.2 kB / 0.6908 GB, free: 46.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=49): time 2.705e-06/0.5344, allocations: 0 / 0.6908 GB, free: 46.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49): time 0.0006739/0.5351, allocations: 419.3 kB / 0.6912 GB, free: 46.13 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.5351, allocations: 58.34 kB / 0.6913 GB, free: 46.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004279/0.5355, allocations: 0.6478 MB / 0.6919 GB, free: 45.86 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.5356, allocations: 42.23 kB / 0.692 GB, free: 45.83 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.5358, allocations: 0.5735 MB / 0.6925 GB, free: 45.51 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.502e-05/0.5359, allocations: 189.3 kB / 0.6927 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.536, allocations: 159.3 kB / 0.6928 GB, free: 45.36 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5362, allocations: 0.5693 MB / 0.6934 GB, free: 44.87 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.5363, allocations: 70.09 kB / 0.6935 GB, free: 44.87 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.5366, allocations: 0.7723 MB / 0.6942 GB, free: 44 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.537, allocations: 0.56 MB / 0.6948 GB, free: 43.58 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.537, allocations: 3.875 kB / 0.6948 GB, free: 43.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005924/0.5376, allocations: 0.5265 MB / 0.6953 GB, free: 43.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.5376, allocations: 13.34 kB / 0.6953 GB, free: 43.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.5376, allocations: 10.8 kB / 0.6953 GB, free: 43.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.5376, allocations: 11.31 kB / 0.6953 GB, free: 43.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.5379, allocations: 155.9 kB / 0.6955 GB, free: 43.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.5379, allocations: 19.2 kB / 0.6955 GB, free: 43.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003766/0.5383, allocations: 70.33 kB / 0.6956 GB, free: 43.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.5384, allocations: 28.59 kB / 0.6956 GB, free: 43.45 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0001742/0.5385, allocations: 209.1 kB / 0.6958 GB, free: 43.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.176e-05/0.5386, allocations: 97.83 kB / 0.6959 GB, free: 43.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.539, allocations: 345 kB / 0.6962 GB, free: 43.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.539, allocations: 6.469 kB / 0.6962 GB, free: 43.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.539, allocations: 4.047 kB / 0.6962 GB, free: 43.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002234/0.5392, allocations: 254.5 kB / 0.6965 GB, free: 43.11 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.5403, allocations: 1.025 MB / 0.6975 GB, free: 42.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.5403, allocations: 2.125 kB / 0.6975 GB, free: 42.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.5406, allocations: 109.4 kB / 0.6976 GB, free: 42.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.5406, allocations: 4.031 kB / 0.6976 GB, free: 42.74 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.5406, allocations: 21.42 kB / 0.6976 GB, free: 42.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.5406, allocations: 3.5 kB / 0.6976 GB, free: 42.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5406, allocations: 6.219 kB / 0.6976 GB, free: 42.74 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005169/0.5411, allocations: 0.6148 MB / 0.6982 GB, free: 42.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.5413, allocations: 134.8 kB / 0.6983 GB, free: 42.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.266e-05/0.5414, allocations: 13.05 kB / 0.6983 GB, free: 42.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.5416, allocations: 17 kB / 0.6984 GB, free: 42.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.5416, allocations: 39.02 kB / 0.6984 GB, free: 42.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.5417, allocations: 15.56 kB / 0.6984 GB, free: 42.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000229/0.5419, allocations: 382.3 kB / 0.6988 GB, free: 42.22 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5419, allocations: 0.7812 kB / 0.6988 GB, free: 42.22 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006989/0.5426, allocations: 313.5 kB / 0.6991 GB, free: 42.17 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * 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 (49): * Single equations (assignments): 49 * 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.0003732/0.543, allocations: 176 kB / 0.6992 GB, free: 42.08 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004085/0.5434, allocations: 324.2 kB / 0.6996 GB, free: 42.05 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5434, allocations: 3.469 kB / 0.6996 GB, free: 42.05 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.5435, allocations: 145.1 kB / 0.6997 GB, free: 42.04 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000997/0.5445, allocations: 380.3 kB / 0.7001 GB, free: 42.03 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.5467, allocations: 1.658 MB / 0.7017 GB, free: 41.23 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.5469, allocations: 248.1 kB / 0.7019 GB, free: 41.16 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004239/0.5473, allocations: 122.2 kB / 0.702 GB, free: 41.15 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005284/0.5478, allocations: 383.3 kB / 0.7024 GB, free: 41.08 MB / 0.6355 GB Notification: Performance of SimCode: time 1.082e-06/0.5478, allocations: 1.062 kB / 0.7024 GB, free: 41.08 MB / 0.6355 GB Notification: Performance of Templates: time 0.023/0.5708, allocations: 15.57 MB / 0.7176 GB, free: 39.69 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.7852782108820975]