Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001265/0.001265, allocations: 89.06 kB / 19.65 MB, free: 276 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.001089/0.001089, allocations: 177.3 kB / 23.02 MB, free: 1.543 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.9667/0.9667, allocations: 177.1 MB / 203.4 MB, free: 5.422 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.7989/0.7989, allocations: 154.9 MB / 414.8 MB, free: 364 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5207 GB, free: 1.754 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.036e-05, allocations: 6.25 kB / 0.5207 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.141/0.1411, allocations: 152 MB / 0.6691 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006346/0.1474, allocations: 4.131 MB / 0.6731 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005741/0.148, allocations: 55.56 kB / 0.6732 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007843/0.1488, allocations: 278 kB / 0.6735 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.1509, allocations: 1.274 MB / 0.6747 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.1523, allocations: 0.8181 MB / 0.6755 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002135/0.1544, allocations: 2.58 MB / 0.678 GB, free: 292 kB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3248/0.4792, allocations: 0.8303 MB / 0.6788 GB, free: 48.69 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00296/0.4821, allocations: 1.562 MB / 0.6804 GB, free: 48.68 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.4833, allocations: 0.8306 MB / 0.6812 GB, free: 48.68 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.4834, allocations: 105.7 kB / 0.6813 GB, free: 48.68 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008568/0.4843, allocations: 434.4 kB / 0.6817 GB, free: 48.68 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000387/0.4847, allocations: 0.5386 MB / 0.6822 GB, free: 48.68 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004746/0.4851, allocations: 459.8 kB / 0.6827 GB, free: 48.68 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.4866, allocations: 1.214 MB / 0.6838 GB, free: 48.63 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4866, allocations: 0 / 0.6838 GB, free: 48.63 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4866, allocations: 0 / 0.6838 GB, free: 48.63 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.995e-05/0.4866, allocations: 2 kB / 0.6838 GB, free: 48.63 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.001429/0.488, allocations: 1.479 MB / 0.6853 GB, free: 47.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.4881, allocations: 8.594 kB / 0.6853 GB, free: 47.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007911/0.4889, allocations: 336 kB / 0.6856 GB, free: 47.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007205/0.4896, allocations: 0.7309 MB / 0.6863 GB, free: 47.47 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.4896, allocations: 76.19 kB / 0.6864 GB, free: 47.47 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.693e-05/0.4897, allocations: 101.1 kB / 0.6865 GB, free: 47.47 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000822/0.4905, allocations: 0.9582 MB / 0.6874 GB, free: 47 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.4906, allocations: 1.562 kB / 0.6874 GB, free: 47 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.183e-05/0.4906, allocations: 39.44 kB / 0.6875 GB, free: 47 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.652e-05/0.4906, allocations: 38.61 kB / 0.6875 GB, free: 47 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005256/0.4912, allocations: 379.3 kB / 0.6879 GB, free: 46.99 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.00255/0.4937, allocations: 4.688 MB / 0.6924 GB, free: 43.92 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004438/0.4942, allocations: 278.9 kB / 0.6927 GB, free: 43.89 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.4943, allocations: 139.4 kB / 0.6928 GB, free: 43.87 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/0.4946, allocations: 61.69 kB / 0.6929 GB, free: 43.87 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.4946, allocations: 43.42 kB / 0.6929 GB, free: 43.83 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=49): time 2.114e-06/0.4946, allocations: 0.5938 kB / 0.6929 GB, free: 43.83 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49): time 0.0006896/0.4953, allocations: 470.5 kB / 0.6934 GB, free: 43.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.4953, allocations: 57.12 kB / 0.6935 GB, free: 43.67 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004366/0.4957, allocations: 0.6541 MB / 0.6941 GB, free: 43.46 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.4958, allocations: 39.73 kB / 0.6941 GB, free: 43.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.496, allocations: 0.5715 MB / 0.6947 GB, free: 43.11 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.36e-05/0.4961, allocations: 186.5 kB / 0.6949 GB, free: 43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.4962, allocations: 155 kB / 0.695 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.4963, allocations: 0.5667 MB / 0.6956 GB, free: 42.47 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.4964, allocations: 90.59 kB / 0.6957 GB, free: 42.47 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.4967, allocations: 0.7903 MB / 0.6964 GB, free: 41.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.4972, allocations: 0.5949 MB / 0.697 GB, free: 41.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.4972, allocations: 3.812 kB / 0.697 GB, free: 41.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000598/0.4978, allocations: 0.5737 MB / 0.6976 GB, free: 41.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.4978, allocations: 12.62 kB / 0.6976 GB, free: 41.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.4978, allocations: 9.406 kB / 0.6976 GB, free: 41.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.4978, allocations: 12.66 kB / 0.6976 GB, free: 41.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.4981, allocations: 157.2 kB / 0.6978 GB, free: 41.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.4981, allocations: 17.59 kB / 0.6978 GB, free: 41.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.4984, allocations: 75.34 kB / 0.6978 GB, free: 41.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.4985, allocations: 37.75 kB / 0.6979 GB, free: 41.05 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.0001404/0.4986, allocations: 203.3 kB / 0.6981 GB, free: 40.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.204e-05/0.4987, allocations: 97.05 kB / 0.6982 GB, free: 40.85 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004342/0.4991, allocations: 390.5 kB / 0.6985 GB, free: 40.78 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4991, allocations: 5.75 kB / 0.6985 GB, free: 40.78 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.4991, allocations: 0.9375 kB / 0.6985 GB, free: 40.78 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002748/0.4994, allocations: 287.4 kB / 0.6988 GB, free: 40.71 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.5005, allocations: 1.214 MB / 0.7 GB, free: 40.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.5005, allocations: 2.281 kB / 0.7 GB, free: 40.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.5008, allocations: 111.6 kB / 0.7001 GB, free: 40.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.5008, allocations: 6.281 kB / 0.7001 GB, free: 40.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.5008, allocations: 13.28 kB / 0.7001 GB, free: 40.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.5008, allocations: 3.125 kB / 0.7001 GB, free: 40.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5008, allocations: 4.031 kB / 0.7001 GB, free: 40.3 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005609/0.5014, allocations: 0.6618 MB / 0.7008 GB, free: 39.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.5015, allocations: 145 kB / 0.7009 GB, free: 39.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.544e-05/0.5016, allocations: 17.42 kB / 0.7009 GB, free: 39.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.5018, allocations: 20.83 kB / 0.701 GB, free: 39.93 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.5018, allocations: 37.91 kB / 0.701 GB, free: 39.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.5018, allocations: 21.73 kB / 0.701 GB, free: 39.92 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002556/0.5021, allocations: 405.5 kB / 0.7014 GB, free: 39.79 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5021, allocations: 0 / 0.7014 GB, free: 39.79 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000502/0.5026, allocations: 312.2 kB / 0.7017 GB, free: 39.74 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.0003392/0.5029, allocations: 175.8 kB / 0.7019 GB, free: 39.65 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004274/0.5034, allocations: 360.8 kB / 0.7022 GB, free: 39.62 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5034, allocations: 2.875 kB / 0.7022 GB, free: 39.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.5035, allocations: 159.1 kB / 0.7024 GB, free: 39.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009008/0.5044, allocations: 382.5 kB / 0.7027 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.5063, allocations: 1.664 MB / 0.7044 GB, free: 38.79 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.5065, allocations: 245.9 kB / 0.7046 GB, free: 38.71 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004283/0.5069, allocations: 223.4 kB / 0.7048 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.507, allocations: 69.2 kB / 0.7049 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of SimCode: time 8.72e-07/0.507, allocations: 0 / 0.7049 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of Templates: time 0.01944/0.5265, allocations: 15.04 MB / 0.7196 GB, free: 37.23 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.665390389971435]