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.001267/0.001267, allocations: 81.86 kB / 19.87 MB, free: 4.617 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.00112/0.00112, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9757/0.9757, allocations: 177.1 MB / 203.7 MB, free: 5.469 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.8279/0.8279, allocations: 154.6 MB / 414.8 MB, free: 0.5 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.214e-06/2.214e-06, allocations: 3.984 kB / 0.5208 GB, free: 1.844 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.602e-05, allocations: 8.562 kB / 0.5208 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.138/0.138, allocations: 149.1 MB / 0.6664 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00685/0.1449, allocations: 4.099 MB / 0.6704 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.146, allocations: 47.62 kB / 0.6705 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007568/0.1467, allocations: 285.9 kB / 0.6708 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002623/0.1494, allocations: 1.286 MB / 0.672 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.1512, allocations: 0.8065 MB / 0.6728 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002723/0.1539, allocations: 2.588 MB / 0.6753 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.155, allocations: 0.8305 MB / 0.6761 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002918/0.158, allocations: 1.562 MB / 0.6777 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.1591, allocations: 0.8376 MB / 0.6785 GB, free: 20 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.3279/0.487, allocations: 111.2 kB / 0.6786 GB, free: 50.98 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.4884, allocations: 428.2 kB / 0.679 GB, free: 50.98 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005015/0.4889, allocations: 0.5404 MB / 0.6795 GB, free: 50.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006789/0.4895, allocations: 452.2 kB / 0.68 GB, free: 50.98 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.4913, allocations: 1.213 MB / 0.6811 GB, free: 50.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4913, allocations: 0 / 0.6811 GB, free: 50.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4913, allocations: 0 / 0.6811 GB, free: 50.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.941e-05/0.4914, allocations: 1.203 kB / 0.6812 GB, free: 50.93 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.001646/0.493, allocations: 1.48 MB / 0.6826 GB, free: 50.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.4931, allocations: 12.86 kB / 0.6826 GB, free: 50.14 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008389/0.4939, allocations: 339.8 kB / 0.6829 GB, free: 50.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007727/0.4947, allocations: 0.703 MB / 0.6836 GB, free: 49.78 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.951e-05/0.4947, allocations: 69.16 kB / 0.6837 GB, free: 49.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.848e-05/0.4948, allocations: 100.6 kB / 0.6838 GB, free: 49.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007268/0.4955, allocations: 0.9078 MB / 0.6847 GB, free: 49.31 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.4955, allocations: 4.375 kB / 0.6847 GB, free: 49.31 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/0.4956, allocations: 41.31 kB / 0.6847 GB, free: 49.31 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.782e-05/0.4956, allocations: 35.06 kB / 0.6847 GB, free: 49.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004311/0.4961, allocations: 306.2 kB / 0.685 GB, free: 49.29 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.002925/0.499, allocations: 4.686 MB / 0.6896 GB, free: 46.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.4993, allocations: 254 kB / 0.6899 GB, free: 46.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.4995, allocations: 121.5 kB / 0.69 GB, free: 46.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002166/0.4997, allocations: 60.17 kB / 0.69 GB, free: 46.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.4997, allocations: 44.36 kB / 0.6901 GB, free: 46.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=49): time 1.613e-06/0.4997, allocations: 1 kB / 0.6901 GB, free: 46.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49): time 0.0006866/0.5004, allocations: 418.3 kB / 0.6905 GB, free: 46.03 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.5004, allocations: 57.28 kB / 0.6905 GB, free: 45.97 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.5009, allocations: 0.6532 MB / 0.6912 GB, free: 45.76 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.5009, allocations: 36.7 kB / 0.6912 GB, free: 45.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.5012, allocations: 0.5779 MB / 0.6918 GB, free: 45.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.903e-05/0.5013, allocations: 191.3 kB / 0.6919 GB, free: 45.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.5014, allocations: 152.8 kB / 0.6921 GB, free: 45.26 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.5015, allocations: 0.5742 MB / 0.6927 GB, free: 44.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.136e-05/0.5016, allocations: 71.7 kB / 0.6927 GB, free: 44.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.5019, allocations: 0.7759 MB / 0.6935 GB, free: 43.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004086/0.5024, allocations: 0.5539 MB / 0.694 GB, free: 43.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5024, allocations: 0 / 0.694 GB, free: 43.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005458/0.5029, allocations: 0.5308 MB / 0.6945 GB, free: 43.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.5029, allocations: 13.06 kB / 0.6945 GB, free: 43.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.5029, allocations: 12.97 kB / 0.6946 GB, free: 43.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.503, allocations: 12.77 kB / 0.6946 GB, free: 43.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.5032, allocations: 158.3 kB / 0.6947 GB, free: 43.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.5032, allocations: 14.97 kB / 0.6947 GB, free: 43.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.5036, allocations: 72.16 kB / 0.6948 GB, free: 43.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.5036, allocations: 30.5 kB / 0.6948 GB, free: 43.36 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.0001494/0.5037, allocations: 205.5 kB / 0.695 GB, free: 43.19 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.263e-05/0.5038, allocations: 98.3 kB / 0.6951 GB, free: 43.15 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.5042, allocations: 346.6 kB / 0.6955 GB, free: 43.09 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.5042, allocations: 5.125 kB / 0.6955 GB, free: 43.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.5042, allocations: 4.094 kB / 0.6955 GB, free: 43.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002265/0.5045, allocations: 252.1 kB / 0.6957 GB, free: 43.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.5055, allocations: 1.028 MB / 0.6967 GB, free: 42.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.5055, allocations: 8.531 kB / 0.6967 GB, free: 42.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.5058, allocations: 111.7 kB / 0.6968 GB, free: 42.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.5058, allocations: 3.312 kB / 0.6968 GB, free: 42.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.5058, allocations: 15.38 kB / 0.6968 GB, free: 42.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.5058, allocations: 3.875 kB / 0.6968 GB, free: 42.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5058, allocations: 6.25 kB / 0.6969 GB, free: 42.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004862/0.5063, allocations: 0.6174 MB / 0.6975 GB, free: 42.31 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.5064, allocations: 132.6 kB / 0.6976 GB, free: 42.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/0.5065, allocations: 13.34 kB / 0.6976 GB, free: 42.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.5067, allocations: 13.53 kB / 0.6976 GB, free: 42.26 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.5067, allocations: 38.42 kB / 0.6976 GB, free: 42.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.5067, allocations: 19.5 kB / 0.6977 GB, free: 42.26 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002067/0.5069, allocations: 382 kB / 0.698 GB, free: 42.12 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5069, allocations: 2.047 kB / 0.698 GB, free: 42.12 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005361/0.5075, allocations: 316.8 kB / 0.6983 GB, free: 42.07 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.0003664/0.5078, allocations: 162.8 kB / 0.6985 GB, free: 41.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003535/0.5082, allocations: 329.5 kB / 0.6988 GB, free: 41.96 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5082, allocations: 0 / 0.6988 GB, free: 41.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.5083, allocations: 149.6 kB / 0.6989 GB, free: 41.94 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008933/0.5092, allocations: 382.6 kB / 0.6993 GB, free: 41.93 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.5112, allocations: 1.656 MB / 0.7009 GB, free: 41.13 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.5113, allocations: 248 kB / 0.7012 GB, free: 41.06 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003378/0.5117, allocations: 125.8 kB / 0.7013 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005271/0.5122, allocations: 385.4 kB / 0.7016 GB, free: 40.98 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/0.5122, allocations: 0 / 0.7016 GB, free: 40.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.02297/0.5352, allocations: 15.35 MB / 0.7166 GB, free: 39.64 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.467106470838189]