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.001448/0.001448, allocations: 80.75 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.001031/0.001031, 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 1.042/1.042, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8403/0.8403, allocations: 154.6 MB / 414.8 MB, free: 492 kB / 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 9.61e-07/9.61e-07, allocations: 0 / 480.1 MB, free: 6.789 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.379e-05, allocations: 2.312 kB / 480.1 MB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.1482/0.1482, allocations: 151.3 MB / 0.6166 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00703/0.1552, allocations: 4.207 MB / 0.6207 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.1563, allocations: 51.56 kB / 0.6208 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0008004/0.1571, allocations: 285.9 kB / 0.621 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002338/0.1594, allocations: 1.278 MB / 0.6223 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.1611, allocations: 0.8026 MB / 0.6231 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.003265/0.1643, allocations: 2.571 MB / 0.6256 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.1661, allocations: 0.9009 MB / 0.6264 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002428/0.1685, allocations: 1.517 MB / 0.6279 GB, free: 3.738 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.1698, allocations: 0.7947 MB / 0.6287 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.000327/0.1702, allocations: 111.9 kB / 0.6288 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.1712, allocations: 447 kB / 0.6292 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0004284/0.1716, allocations: 0.5299 MB / 0.6298 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0006854/0.1723, allocations: 467 kB / 0.6302 GB, free: 1.406 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.1744, allocations: 1.203 MB / 0.6314 GB, free: 204 kB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1744, allocations: 0 / 0.6314 GB, free: 204 kB / 0.5886 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1744, allocations: 0 / 0.6314 GB, free: 204 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.414e-05/0.1744, allocations: 0 / 0.6314 GB, free: 204 kB / 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.00146/0.1759, allocations: 1.316 MB / 0.6327 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1759, allocations: 8.031 kB / 0.6327 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008648/0.1768, allocations: 319.8 kB / 0.633 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007994/0.1776, allocations: 0.6253 MB / 0.6336 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.733e-05/0.1776, allocations: 74 kB / 0.6337 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.1777, allocations: 99.98 kB / 0.6338 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008098/0.1785, allocations: 0.8703 MB / 0.6346 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.1786, allocations: 3.938 kB / 0.6346 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.1786, allocations: 36 kB / 0.6346 GB, free: 12.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.123e-05/0.1786, allocations: 37.98 kB / 0.6347 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004112/0.1791, allocations: 314 kB / 0.635 GB, free: 12.34 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.003006/0.1821, allocations: 3.398 MB / 0.6383 GB, free: 8.832 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/0.1824, allocations: 289.2 kB / 0.6386 GB, free: 8.535 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.1826, allocations: 101.7 kB / 0.6387 GB, free: 8.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002504/0.1828, allocations: 68.42 kB / 0.6387 GB, free: 8.363 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1828, allocations: 39.06 kB / 0.6388 GB, free: 8.316 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=49): time 2.475e-06/0.1828, allocations: 0 / 0.6388 GB, free: 8.316 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49): time 0.0005467/0.1834, allocations: 313.9 kB / 0.6391 GB, free: 8.008 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.1834, allocations: 59.91 kB / 0.6391 GB, free: 7.938 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003859/0.1838, allocations: 0.5622 MB / 0.6397 GB, free: 7.367 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.1838, allocations: 37.7 kB / 0.6397 GB, free: 7.324 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.184, allocations: 453 kB / 0.6401 GB, free: 6.871 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.1841, allocations: 182.4 kB / 0.6403 GB, free: 6.691 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.1843, allocations: 138.5 kB / 0.6404 GB, free: 6.547 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002102/0.1845, allocations: 386.6 kB / 0.6408 GB, free: 6.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.974e-05/0.1846, allocations: 72.8 kB / 0.6409 GB, free: 6.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.185, allocations: 0.6395 MB / 0.6415 GB, free: 5.254 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.1854, allocations: 472.2 kB / 0.642 GB, free: 4.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.1854, allocations: 7.938 kB / 0.642 GB, free: 4.672 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004828/0.1859, allocations: 432.3 kB / 0.6424 GB, free: 4.242 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1859, allocations: 12 kB / 0.6424 GB, free: 4.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.1859, allocations: 8 kB / 0.6424 GB, free: 4.223 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1859, allocations: 12 kB / 0.6424 GB, free: 4.211 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004181/0.1863, allocations: 163.7 kB / 0.6426 GB, free: 4.051 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.1863, allocations: 19.92 kB / 0.6426 GB, free: 4.031 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.1867, allocations: 71.52 kB / 0.6427 GB, free: 3.961 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.1867, allocations: 24 kB / 0.6427 GB, free: 3.938 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.0001722/0.1869, allocations: 172.3 kB / 0.6428 GB, free: 3.758 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.563e-05/0.187, allocations: 67.92 kB / 0.6429 GB, free: 3.691 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003714/0.1873, allocations: 286.7 kB / 0.6432 GB, free: 3.398 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1873, allocations: 4 kB / 0.6432 GB, free: 3.395 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.1873, allocations: 0 / 0.6432 GB, free: 3.395 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001935/0.1875, allocations: 196.2 kB / 0.6434 GB, free: 3.191 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.1887, allocations: 0.8997 MB / 0.6443 GB, free: 2.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.1887, allocations: 4 kB / 0.6443 GB, free: 2.227 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004012/0.1891, allocations: 142.6 kB / 0.6444 GB, free: 2.086 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.1891, allocations: 4 kB / 0.6444 GB, free: 2.082 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.1891, allocations: 8 kB / 0.6444 GB, free: 2.074 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.1892, allocations: 7.984 kB / 0.6444 GB, free: 2.066 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.1892, allocations: 8.125 kB / 0.6444 GB, free: 2.059 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.1897, allocations: 0.5319 MB / 0.6449 GB, free: 1.484 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.1898, allocations: 111.4 kB / 0.645 GB, free: 1.375 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.482e-05/0.1899, allocations: 12 kB / 0.6451 GB, free: 1.363 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.1901, allocations: 12 kB / 0.6451 GB, free: 1.352 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.1901, allocations: 39.81 kB / 0.6451 GB, free: 1.312 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.1901, allocations: 15.98 kB / 0.6451 GB, free: 1.297 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001877/0.1903, allocations: 256.6 kB / 0.6454 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1903, allocations: 0 / 0.6454 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006124/0.1909, allocations: 323.2 kB / 0.6457 GB, free: 0.7344 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.0004166/0.1914, allocations: 162.7 kB / 0.6458 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003717/0.1917, allocations: 293.2 kB / 0.6461 GB, free: 304 kB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/0.1917, allocations: 8.5 kB / 0.6461 GB, free: 296 kB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.1919, allocations: 131.2 kB / 0.6462 GB, free: 164 kB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009119/0.1928, allocations: 411.4 kB / 0.6466 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.1948, allocations: 1.562 MB / 0.6482 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.1949, allocations: 239.1 kB / 0.6484 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003398/0.1953, allocations: 118.7 kB / 0.6485 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005533/0.1958, allocations: 329.1 kB / 0.6488 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of SimCode: time 1.292e-06/0.1958, allocations: 0 / 0.6488 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of Templates: time 0.01994/0.2157, allocations: 15.46 MB / 0.6639 GB, free: 14.42 MB / 0.6355 GB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.601798835676163]