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.0009924/0.0009924, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001226/0.001226, allocations: 177 kB / 23.36 MB, free: 1.137 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.9897/0.9897, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.8331/0.8331, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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 1.202e-06/1.202e-06, allocations: 0 / 480 MB, free: 6.883 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29e-05/1.411e-05, allocations: 2.312 kB / 480 MB, free: 6.879 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.1409/0.1409, allocations: 151.3 MB / 0.6165 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.006942/0.1478, allocations: 4.215 MB / 0.6206 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006917/0.1485, allocations: 51.56 kB / 0.6207 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006981/0.1492, allocations: 285.9 kB / 0.6209 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.1512, allocations: 1.278 MB / 0.6222 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.1527, allocations: 0.8181 MB / 0.623 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.00215/0.1548, allocations: 2.575 MB / 0.6255 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009968/0.1558, allocations: 0.8273 MB / 0.6263 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002375/0.1582, allocations: 1.531 MB / 0.6278 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008783/0.1591, allocations: 0.7985 MB / 0.6286 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.1592, allocations: 104 kB / 0.6287 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006393/0.1598, allocations: 431 kB / 0.6291 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0003943/0.1602, allocations: 0.5415 MB / 0.6296 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0003671/0.1606, allocations: 451 kB / 0.63 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.1618, allocations: 1.215 MB / 0.6312 GB, free: 400 kB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1618, allocations: 0 / 0.6312 GB, free: 400 kB / 0.5886 GB Notification: Performance of FrontEnd: time 2.314e-06/0.1618, allocations: 0 / 0.6312 GB, free: 400 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.1619, allocations: 0 / 0.6312 GB, free: 400 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.001352/0.1632, allocations: 1.316 MB / 0.6325 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.1633, allocations: 12.03 kB / 0.6325 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009539/0.1642, allocations: 315.8 kB / 0.6328 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007923/0.165, allocations: 0.6215 MB / 0.6334 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/0.1651, allocations: 77.98 kB / 0.6335 GB, free: 14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-05/0.1651, allocations: 95.98 kB / 0.6336 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008149/0.166, allocations: 0.8681 MB / 0.6345 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.166, allocations: 3.938 kB / 0.6345 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.345e-05/0.166, allocations: 40 kB / 0.6345 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.21e-05/0.1661, allocations: 34 kB / 0.6345 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005217/0.1666, allocations: 317.9 kB / 0.6348 GB, free: 12.54 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.002949/0.1695, allocations: 3.402 MB / 0.6382 GB, free: 9.023 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/0.17, allocations: 273.3 kB / 0.6384 GB, free: 8.742 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.1702, allocations: 120.6 kB / 0.6385 GB, free: 8.621 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.1704, allocations: 52.45 kB / 0.6386 GB, free: 8.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.1705, allocations: 51.05 kB / 0.6386 GB, free: 8.512 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=49): time 2.766e-06/0.1705, allocations: 0 / 0.6386 GB, free: 8.512 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49): time 0.000748/0.1712, allocations: 310 kB / 0.6389 GB, free: 8.207 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.1713, allocations: 59.89 kB / 0.639 GB, free: 8.137 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.1716, allocations: 0.5583 MB / 0.6395 GB, free: 7.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.1717, allocations: 41.64 kB / 0.6396 GB, free: 7.523 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.1719, allocations: 449 kB / 0.64 GB, free: 7.074 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.172, allocations: 190.4 kB / 0.6402 GB, free: 6.887 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.1721, allocations: 134.5 kB / 0.6403 GB, free: 6.746 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1722, allocations: 394.5 kB / 0.6407 GB, free: 6.352 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.655e-05/0.1723, allocations: 72.8 kB / 0.6407 GB, free: 6.281 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006275/0.1729, allocations: 0.6356 MB / 0.6414 GB, free: 5.449 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.1733, allocations: 468.2 kB / 0.6418 GB, free: 4.879 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.1733, allocations: 7.938 kB / 0.6418 GB, free: 4.871 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004275/0.1737, allocations: 435.4 kB / 0.6422 GB, free: 4.441 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1738, allocations: 8.938 kB / 0.6422 GB, free: 4.434 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1738, allocations: 8 kB / 0.6423 GB, free: 4.426 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1738, allocations: 12 kB / 0.6423 GB, free: 4.414 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.1741, allocations: 151.8 kB / 0.6424 GB, free: 4.266 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/0.1741, allocations: 15.94 kB / 0.6424 GB, free: 4.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.1744, allocations: 75.5 kB / 0.6425 GB, free: 4.172 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.1744, allocations: 28 kB / 0.6425 GB, free: 4.145 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.0001558/0.1746, allocations: 164.3 kB / 0.6427 GB, free: 3.973 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.662e-05/0.1746, allocations: 67.92 kB / 0.6427 GB, free: 3.906 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.1749, allocations: 290.6 kB / 0.643 GB, free: 3.609 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.175, allocations: 4 kB / 0.643 GB, free: 3.605 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.175, allocations: 0 / 0.643 GB, free: 3.605 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001814/0.1751, allocations: 196.3 kB / 0.6432 GB, free: 3.402 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008994/0.176, allocations: 0.9033 MB / 0.6441 GB, free: 2.438 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.176, allocations: 0 / 0.6441 GB, free: 2.438 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.1763, allocations: 112.1 kB / 0.6442 GB, free: 2.328 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.1763, allocations: 4 kB / 0.6442 GB, free: 2.324 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.1763, allocations: 8 kB / 0.6442 GB, free: 2.316 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1763, allocations: 4 kB / 0.6442 GB, free: 2.312 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1763, allocations: 3.938 kB / 0.6442 GB, free: 2.309 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.1768, allocations: 0.5293 MB / 0.6447 GB, free: 1.738 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.1769, allocations: 107.4 kB / 0.6448 GB, free: 1.633 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/0.177, allocations: 19.92 kB / 0.6449 GB, free: 1.613 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.1772, allocations: 16 kB / 0.6449 GB, free: 1.598 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.1772, allocations: 43.81 kB / 0.6449 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.1772, allocations: 12 kB / 0.6449 GB, free: 1.543 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001773/0.1774, allocations: 256.5 kB / 0.6452 GB, free: 1.297 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.1774, allocations: 4 kB / 0.6452 GB, free: 1.293 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004613/0.1779, allocations: 319.2 kB / 0.6455 GB, free: 0.9805 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.0003308/0.1782, allocations: 150.1 kB / 0.6456 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003415/0.1785, allocations: 298.4 kB / 0.6459 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/0.1785, allocations: 12.75 kB / 0.6459 GB, free: 0.5391 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.1787, allocations: 125.7 kB / 0.646 GB, free: 424 kB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008965/0.1796, allocations: 410.5 kB / 0.6464 GB, free: 20 kB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.1814, allocations: 1.559 MB / 0.648 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.1816, allocations: 239.1 kB / 0.6482 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002776/0.1819, allocations: 126.7 kB / 0.6483 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000501/0.1824, allocations: 321.1 kB / 0.6486 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.1824, allocations: 4 kB / 0.6486 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.01835/0.2007, allocations: 15.36 MB / 0.6636 GB, free: 14.77 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.696123177651316]