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.0006808/0.0006808, allocations: 104.3 kB / 19.7 MB, free: 0.5664 MB / 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.0006924/0.0006924, allocations: 211.2 kB / 23 MB, free: 3.066 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.8637/0.8637, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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-531:190: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-531:198: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.7641/0.7641, allocations: 203.8 MB / 0.5049 GB, free: 9.918 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008362/0.0008362, allocations: 74.02 kB / 0.7194 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.4467, allocations: 102 MB / 0.819 GB, free: 1.305 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.1424/0.589, allocations: 172.7 MB / 0.9877 GB, free: 8.277 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01218/0.6012, allocations: 13.17 MB / 1.001 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/0.6028, allocations: 51.56 kB / 1.001 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.6045, allocations: 0.489 MB / 1.001 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.003778/0.6082, allocations: 1.941 MB / 1.003 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.6101, allocations: 0.9078 MB / 1.004 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002551/0.6127, allocations: 2.61 MB / 1.006 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/0.6139, allocations: 0.7874 MB / 1.007 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003857/0.6177, allocations: 1.892 MB / 1.009 GB, free: 2.367 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.6192, allocations: 0.9344 MB / 1.01 GB, free: 1.434 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001867/0.6194, allocations: 108 kB / 1.01 GB, free: 1.328 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.621, allocations: 0.9273 MB / 1.011 GB, free: 408 kB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004536/0.6214, allocations: 0.5025 MB / 1.011 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0005832/0.622, allocations: 0.5368 MB / 1.012 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.6243, allocations: 1.896 MB / 1.014 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.6243, allocations: 0 / 1.014 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.976e-06/0.6243, allocations: 0 / 1.014 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.577e-05/0.6243, allocations: 0 / 1.014 GB, free: 13.45 MB / 0.7917 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.001733/0.626, allocations: 1.411 MB / 1.015 GB, free: 12.01 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.6261, allocations: 12.03 kB / 1.015 GB, free: 12 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008843/0.6269, allocations: 263 kB / 1.015 GB, free: 11.74 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009768/0.6279, allocations: 0.7331 MB / 1.016 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.588e-05/0.628, allocations: 74 kB / 1.016 GB, free: 10.9 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.952e-05/0.6281, allocations: 88 kB / 1.016 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.6294, allocations: 1.294 MB / 1.018 GB, free: 9.422 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.6294, allocations: 7.891 kB / 1.018 GB, free: 9.414 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/0.6295, allocations: 47.94 kB / 1.018 GB, free: 9.367 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/0.6295, allocations: 34 kB / 1.018 GB, free: 9.332 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009393/0.6305, allocations: 0.9015 MB / 1.019 GB, free: 8.43 MB / 0.7917 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.003369/0.6338, allocations: 3.986 MB / 1.022 GB, free: 4.324 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005944/0.6344, allocations: 0.5162 MB / 1.023 GB, free: 3.797 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.6347, allocations: 290.6 kB / 1.023 GB, free: 3.508 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002709/0.635, allocations: 88.34 kB / 1.023 GB, free: 3.422 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.635, allocations: 39 kB / 1.023 GB, free: 3.375 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=49): time 2.835e-06/0.635, allocations: 0 / 1.023 GB, free: 3.375 MB / 0.7917 GB Notification: Performance of matching and sorting (n=49): time 0.000999/0.636, allocations: 0.7953 MB / 1.024 GB, free: 2.574 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.636, allocations: 59.84 kB / 1.024 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005519/0.6366, allocations: 0.6604 MB / 1.025 GB, free: 1.836 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/0.6366, allocations: 37.7 kB / 1.025 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.6369, allocations: 0.5233 MB / 1.025 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.637, allocations: 190.4 kB / 1.026 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.6371, allocations: 142.6 kB / 1.026 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6372, allocations: 382.7 kB / 1.026 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.6375, allocations: 253.8 kB / 1.026 GB, free: 304 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/0.6379, allocations: 0.8269 MB / 1.027 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007866/0.6387, allocations: 0.8034 MB / 1.028 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.6387, allocations: 0 / 1.028 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008108/0.6395, allocations: 0.8386 MB / 1.029 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.6396, allocations: 8.969 kB / 1.029 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.6396, allocations: 8 kB / 1.029 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.6396, allocations: 12 kB / 1.029 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/0.6399, allocations: 159.7 kB / 1.029 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.6399, allocations: 15.94 kB / 1.029 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.6403, allocations: 79.44 kB / 1.029 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/0.6404, allocations: 39.98 kB / 1.029 GB, free: 13.2 MB / 0.8073 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.0003561/0.6407, allocations: 333.4 kB / 1.029 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.111e-05/0.6408, allocations: 83.47 kB / 1.029 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006427/0.6415, allocations: 0.6094 MB / 1.03 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.6415, allocations: 4 kB / 1.03 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.6415, allocations: 3.984 kB / 1.03 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004464/0.6419, allocations: 0.5211 MB / 1.031 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.6435, allocations: 1.444 MB / 1.032 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.6435, allocations: 4.219 kB / 1.032 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.6438, allocations: 115.8 kB / 1.032 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.6438, allocations: 4 kB / 1.032 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.6438, allocations: 23.92 kB / 1.032 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.6438, allocations: 4 kB / 1.032 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6438, allocations: 0 / 1.032 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008743/0.6447, allocations: 1.008 MB / 1.033 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/0.6449, allocations: 143.3 kB / 1.033 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.467e-05/0.645, allocations: 15.94 kB / 1.033 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.6452, allocations: 19.98 kB / 1.033 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.6453, allocations: 35.88 kB / 1.033 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.6453, allocations: 20 kB / 1.033 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003621/0.6457, allocations: 447 kB / 1.034 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.6457, allocations: 0 / 1.034 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007157/0.6464, allocations: 307.3 kB / 1.034 GB, free: 7.961 MB / 0.8073 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.0004122/0.6468, allocations: 192.2 kB / 1.034 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0008557/0.6476, allocations: 0.5879 MB / 1.035 GB, free: 7.18 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6476, allocations: 4 kB / 1.035 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.6479, allocations: 260 kB / 1.035 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009754/0.6488, allocations: 389.3 kB / 1.035 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.6511, allocations: 2.022 MB / 1.037 GB, free: 4.473 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.6514, allocations: 0.5196 MB / 1.038 GB, free: 3.922 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.6516, allocations: 79.36 kB / 1.038 GB, free: 3.844 MB / 0.8073 GB Notification: Performance of SimCode: time 1.252e-06/0.6516, allocations: 0 / 1.038 GB, free: 3.844 MB / 0.8073 GB Notification: Performance of Templates: time 0.01732/0.6689, allocations: 14.33 MB / 1.052 GB, free: 5.637 MB / 0.823 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.244760639965534] Failed to read output from testmodel.py, exit status != 0: 0.674840409308672 0.683560365 0.057325771000000005 Calling exit ...