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.0006799/0.0006799, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000894/0.001574, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 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.0007073/0.0007073, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008506/0.001558, allocations: 463.6 kB / 11.68 MB, free: 2.48 MB / 13.93 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.9682/0.9682, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0859/1.054, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7861/0.7861, allocations: 155.3 MB / 399.2 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2772/1.063, allocations: 49.14 MB / 448.4 MB, free: 6.016 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.543e-06/1.543e-06, allocations: 0 / 449.7 MB, free: 4.707 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.874e-05, allocations: 4.281 kB / 449.7 MB, free: 4.703 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.1801/0.1802, allocations: 151.8 MB / 0.5874 GB, free: 12.83 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.007381/0.1875, allocations: 4.225 MB / 0.5915 GB, free: 8.598 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007787/0.1883, allocations: 51.56 kB / 0.5916 GB, free: 8.547 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007459/0.1891, allocations: 289.9 kB / 0.5918 GB, free: 8.262 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002354/0.1914, allocations: 1.27 MB / 0.5931 GB, free: 6.984 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.1933, allocations: 0.7948 MB / 0.5939 GB, free: 6.188 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002552/0.1959, allocations: 2.586 MB / 0.5964 GB, free: 3.598 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.1974, allocations: 0.9016 MB / 0.5973 GB, free: 2.707 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002478/0.1999, allocations: 1.646 MB / 0.5989 GB, free: 1.129 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009853/0.2009, allocations: 0.7908 MB / 0.5996 GB, free: 344 kB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.201, allocations: 104 kB / 0.5997 GB, free: 240 kB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007527/0.2018, allocations: 443.1 kB / 0.6002 GB, free: 15.8 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0003986/0.2022, allocations: 478.8 kB / 0.6006 GB, free: 15.33 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0007039/0.2029, allocations: 379.3 kB / 0.601 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.2041, allocations: 1.106 MB / 0.6021 GB, free: 13.85 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.477e-05/0.2041, allocations: 0 / 0.6021 GB, free: 13.85 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2041, allocations: 0 / 0.6021 GB, free: 13.85 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.867e-05/0.2042, allocations: 0 / 0.6021 GB, free: 13.85 MB / 0.5886 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.001711/0.2059, allocations: 1.591 MB / 0.6036 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.2059, allocations: 12.03 kB / 0.6036 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009349/0.2068, allocations: 393 kB / 0.604 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008792/0.2077, allocations: 0.6215 MB / 0.6046 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.315e-05/0.2078, allocations: 77.92 kB / 0.6047 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.2079, allocations: 95.95 kB / 0.6048 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008791/0.2088, allocations: 0.8634 MB / 0.6056 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.2088, allocations: 7.938 kB / 0.6056 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.469e-05/0.2089, allocations: 44 kB / 0.6057 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.003e-05/0.2089, allocations: 37.98 kB / 0.6057 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004741/0.2094, allocations: 306 kB / 0.606 GB, free: 9.637 MB / 0.5886 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.003144/0.2125, allocations: 3.41 MB / 0.6093 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.2129, allocations: 279 kB / 0.6096 GB, free: 5.82 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.213, allocations: 113.7 kB / 0.6097 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/0.2132, allocations: 56.44 kB / 0.6098 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.2133, allocations: 47.05 kB / 0.6098 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=49): time 1.753e-06/0.2133, allocations: 0 / 0.6098 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of matching and sorting (n=49): time 0.0006018/0.2139, allocations: 313.9 kB / 0.6101 GB, free: 5.285 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.2139, allocations: 55.91 kB / 0.6102 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.2143, allocations: 0.5583 MB / 0.6107 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.2144, allocations: 37.7 kB / 0.6107 GB, free: 4.605 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003568/0.2147, allocations: 456.9 kB / 0.6112 GB, free: 4.152 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.2148, allocations: 182.4 kB / 0.6113 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.215, allocations: 142.5 kB / 0.6115 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.2151, allocations: 390.6 kB / 0.6119 GB, free: 3.438 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.2153, allocations: 72.8 kB / 0.6119 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.2156, allocations: 0.6356 MB / 0.6125 GB, free: 2.531 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004457/0.2161, allocations: 472.2 kB / 0.613 GB, free: 1.957 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.2161, allocations: 7.938 kB / 0.613 GB, free: 1.949 MB / 0.5886 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004123/0.2165, allocations: 431.5 kB / 0.6134 GB, free: 1.52 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2165, allocations: 11.94 kB / 0.6134 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2165, allocations: 8 kB / 0.6134 GB, free: 1.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.2165, allocations: 12.81 kB / 0.6134 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.2169, allocations: 183.4 kB / 0.6136 GB, free: 1.312 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.2169, allocations: 23.91 kB / 0.6136 GB, free: 1.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.2172, allocations: 71.52 kB / 0.6137 GB, free: 1.219 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.2172, allocations: 28 kB / 0.6137 GB, free: 1.191 MB / 0.5886 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.000141/0.2174, allocations: 160.4 kB / 0.6139 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-05/0.2174, allocations: 63.92 kB / 0.614 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005781/0.218, allocations: 294.7 kB / 0.6142 GB, free: 0.668 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.218, allocations: 8 kB / 0.6142 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.218, allocations: 0 / 0.6142 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000171/0.2182, allocations: 196.2 kB / 0.6144 GB, free: 464 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008753/0.2191, allocations: 0.8956 MB / 0.6153 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2191, allocations: 0 / 0.6153 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003743/0.2194, allocations: 158.8 kB / 0.6155 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.2196, allocations: 111.3 kB / 0.6156 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.2196, allocations: 4 kB / 0.6156 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.2196, allocations: 23.92 kB / 0.6156 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.2196, allocations: 4 kB / 0.6156 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2196, allocations: 0 / 0.6156 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.22, allocations: 0.5319 MB / 0.6161 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.2201, allocations: 12 kB / 0.6161 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.2203, allocations: 19.98 kB / 0.6161 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.2203, allocations: 35.88 kB / 0.6162 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.2203, allocations: 15.94 kB / 0.6162 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001822/0.2205, allocations: 260.5 kB / 0.6164 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.71e-07/0.2205, allocations: 0 / 0.6164 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004657/0.221, allocations: 307.3 kB / 0.6167 GB, free: 13.99 MB / 0.6042 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.0003508/0.2213, allocations: 170.4 kB / 0.6169 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003049/0.2216, allocations: 294.2 kB / 0.6172 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.867e-05/0.2216, allocations: 12.5 kB / 0.6172 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.2218, allocations: 129.3 kB / 0.6173 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008271/0.2226, allocations: 479.1 kB / 0.6178 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00452/0.2271, allocations: 1.636 MB / 0.6194 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.2273, allocations: 243 kB / 0.6196 GB, free: 11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002948/0.2276, allocations: 130.6 kB / 0.6197 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005012/0.2281, allocations: 321.1 kB / 0.62 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of SimCode: time 7.62e-07/0.2281, allocations: 4 kB / 0.62 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of Templates: time 0.01867/0.2467, allocations: 16.33 MB / 0.636 GB, free: 10.67 MB / 0.6198 GB " [Timeout remaining time 660] 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.099311450496316]