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.0009812/0.0009812, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009054/0.0009054, allocations: 181 kB / 23.36 MB, free: 1.133 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.9609/0.9609, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8159/0.8159, allocations: 154.9 MB / 415.1 MB, free: 256 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.333e-06/1.333e-06, allocations: 0.5469 kB / 480.4 MB, free: 6.445 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096e-05/1.229e-05, allocations: 2.312 kB / 480.4 MB, free: 6.441 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.1461/0.1461, allocations: 151.3 MB / 0.6169 GB, free: 15 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.005842/0.1519, allocations: 4.215 MB / 0.6211 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004457/0.1524, allocations: 51.56 kB / 0.6211 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006896/0.153, allocations: 282 kB / 0.6214 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.1548, allocations: 1.274 MB / 0.6226 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.1558, allocations: 0.8064 MB / 0.6234 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001779/0.1576, allocations: 2.572 MB / 0.6259 GB, free: 5.781 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.1588, allocations: 0.9003 MB / 0.6268 GB, free: 4.887 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001954/0.1608, allocations: 1.53 MB / 0.6283 GB, free: 3.414 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000767/0.1615, allocations: 0.7946 MB / 0.6291 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.1616, allocations: 104 kB / 0.6292 GB, free: 2.516 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006118/0.1622, allocations: 443 kB / 0.6296 GB, free: 2.082 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0003422/0.1626, allocations: 0.5376 MB / 0.6301 GB, free: 1.543 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.1629, allocations: 451 kB / 0.6305 GB, free: 1.102 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.164, allocations: 1.219 MB / 0.6317 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.164, allocations: 0 / 0.6317 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.42e-07/0.164, allocations: 0 / 0.6317 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.164, allocations: 0 / 0.6317 GB, free: 15.88 MB / 0.6042 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.001266/0.1653, allocations: 1.312 MB / 0.633 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1653, allocations: 12.03 kB / 0.633 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007621/0.1661, allocations: 319.8 kB / 0.6333 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007313/0.1668, allocations: 0.6254 MB / 0.6339 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/0.1668, allocations: 74 kB / 0.634 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.67e-05/0.1669, allocations: 92 kB / 0.6341 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007359/0.1677, allocations: 0.8699 MB / 0.635 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.1677, allocations: 7.938 kB / 0.635 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.778e-05/0.1677, allocations: 36 kB / 0.635 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.218e-05/0.1678, allocations: 34 kB / 0.635 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/0.1682, allocations: 318 kB / 0.6353 GB, free: 12.03 MB / 0.6042 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.002695/0.1709, allocations: 3.402 MB / 0.6387 GB, free: 8.516 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.1712, allocations: 273.2 kB / 0.6389 GB, free: 8.234 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.1713, allocations: 117.7 kB / 0.639 GB, free: 8.113 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.1715, allocations: 56.38 kB / 0.6391 GB, free: 8.059 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.1715, allocations: 43.06 kB / 0.6391 GB, free: 8.008 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=49): time 1.703e-06/0.1715, allocations: 0 / 0.6391 GB, free: 8.008 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49): time 0.0005005/0.172, allocations: 317.9 kB / 0.6394 GB, free: 7.695 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.172, allocations: 59.91 kB / 0.6395 GB, free: 7.625 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.1724, allocations: 0.5622 MB / 0.64 GB, free: 7.055 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.1724, allocations: 37.7 kB / 0.6401 GB, free: 7.012 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.1726, allocations: 445 kB / 0.6405 GB, free: 6.566 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.241e-05/0.1727, allocations: 190.4 kB / 0.6407 GB, free: 6.379 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.1728, allocations: 134.5 kB / 0.6408 GB, free: 6.242 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1729, allocations: 382.6 kB / 0.6412 GB, free: 5.859 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.254e-05/0.173, allocations: 80.72 kB / 0.6412 GB, free: 5.781 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005794/0.1736, allocations: 0.6356 MB / 0.6419 GB, free: 4.945 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.1739, allocations: 476.2 kB / 0.6423 GB, free: 4.367 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.1739, allocations: 3.938 kB / 0.6423 GB, free: 4.363 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004701/0.1744, allocations: 436.2 kB / 0.6427 GB, free: 3.926 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1744, allocations: 8 kB / 0.6427 GB, free: 3.918 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.1745, allocations: 11.98 kB / 0.6428 GB, free: 3.906 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.1745, allocations: 12 kB / 0.6428 GB, free: 3.895 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.1749, allocations: 163.7 kB / 0.6429 GB, free: 3.734 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.1749, allocations: 15.94 kB / 0.6429 GB, free: 3.719 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.1752, allocations: 71.52 kB / 0.643 GB, free: 3.648 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.1752, allocations: 27.98 kB / 0.643 GB, free: 3.621 MB / 0.6042 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.0001664/0.1754, allocations: 168.4 kB / 0.6432 GB, free: 3.445 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.75e-05/0.1754, allocations: 63.94 kB / 0.6433 GB, free: 3.383 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003576/0.1758, allocations: 290.5 kB / 0.6435 GB, free: 3.086 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1758, allocations: 8 kB / 0.6435 GB, free: 3.078 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.1758, allocations: 0 / 0.6435 GB, free: 3.078 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001952/0.176, allocations: 196.3 kB / 0.6437 GB, free: 2.871 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009458/0.177, allocations: 0.9072 MB / 0.6446 GB, free: 1.906 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.177, allocations: 0 / 0.6446 GB, free: 1.906 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.1773, allocations: 138.7 kB / 0.6447 GB, free: 1.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1773, allocations: 7.984 kB / 0.6448 GB, free: 1.762 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.1774, allocations: 12 kB / 0.6448 GB, free: 1.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1774, allocations: 8.219 kB / 0.6448 GB, free: 1.742 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.1774, allocations: 7.875 kB / 0.6448 GB, free: 1.734 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004757/0.1779, allocations: 0.5202 MB / 0.6453 GB, free: 1.172 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.178, allocations: 111.4 kB / 0.6454 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.216e-05/0.178, allocations: 12 kB / 0.6454 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.1782, allocations: 15.98 kB / 0.6454 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.1783, allocations: 39.81 kB / 0.6455 GB, free: 0.9961 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.1783, allocations: 12 kB / 0.6455 GB, free: 0.9844 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001873/0.1785, allocations: 260.5 kB / 0.6457 GB, free: 0.7344 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.1785, allocations: 8 kB / 0.6457 GB, free: 0.7266 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004817/0.179, allocations: 315.2 kB / 0.646 GB, free: 428 kB / 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.0003982/0.1794, allocations: 160.6 kB / 0.6462 GB, free: 276 kB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003506/0.1797, allocations: 290.7 kB / 0.6465 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/0.1797, allocations: 16.5 kB / 0.6465 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.1799, allocations: 129.9 kB / 0.6466 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008473/0.1807, allocations: 406.4 kB / 0.647 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.1827, allocations: 1.561 MB / 0.6485 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.1829, allocations: 250.9 kB / 0.6487 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002838/0.1832, allocations: 130.7 kB / 0.6489 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000508/0.1837, allocations: 321.1 kB / 0.6492 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of SimCode: time 8.72e-07/0.1837, allocations: 3.938 kB / 0.6492 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of Templates: time 0.01797/0.2017, allocations: 15.46 MB / 0.6643 GB, free: 14.09 MB / 0.6355 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.368038850836456]