Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.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.0009467/0.0009467, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.0009313/0.0009313, allocations: 169 kB / 23.02 MB, free: 1.547 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.9852/0.9852, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.08467/0.08467, allocations: 17.38 MB / 277.3 MB, free: 11.64 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.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(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 353.4 MB, free: 9.973 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.368e-05, allocations: 6.312 kB / 353.4 MB, free: 9.965 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2): time 0.02434/0.02436, allocations: 27.23 MB / 380.7 MB, free: 14.87 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007284/0.03165, allocations: 9.263 MB / 389.9 MB, free: 5.574 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002581/0.03191, allocations: 11.88 kB / 390 MB, free: 5.562 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004913/0.0324, allocations: 202.4 kB / 390.1 MB, free: 5.363 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000679/0.03308, allocations: 381 kB / 390.5 MB, free: 4.988 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.03556, allocations: 1.49 MB / 392 MB, free: 3.488 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006537/0.03622, allocations: 0.6929 MB / 392.7 MB, free: 2.793 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002615/0.03648, allocations: 193.7 kB / 392.9 MB, free: 2.598 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003241/0.0368, allocations: 431.2 kB / 393.3 MB, free: 2.176 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.03714, allocations: 287.4 kB / 393.6 MB, free: 1.895 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.006e-05/0.0372, allocations: 36 kB / 393.6 MB, free: 1.859 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.03835, allocations: 0.7913 MB / 394.4 MB, free: 1.066 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.03852, allocations: 119.5 kB / 394.5 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.03867, allocations: 183.6 kB / 394.7 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.04016, allocations: 1.482 MB / 396.2 MB, free: 15.28 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.04016, allocations: 3.938 kB / 396.2 MB, free: 15.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.04017, allocations: 0 / 396.2 MB, free: 15.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.04017, allocations: 0 / 396.2 MB, free: 15.28 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001006/0.04118, allocations: 0.9847 MB / 397.2 MB, free: 14.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.04122, allocations: 12.03 kB / 397.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005122/0.04173, allocations: 255.3 kB / 397.4 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000535/0.04226, allocations: 402.5 kB / 397.8 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.04228, allocations: 29.03 kB / 397.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.04233, allocations: 28.38 kB / 397.9 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.0428, allocations: 472.8 kB / 398.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.04281, allocations: 3.938 kB / 398.4 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.04285, allocations: 12 kB / 398.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.04286, allocations: 8 kB / 398.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006312/0.04349, allocations: 0.5814 MB / 399 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.04504, allocations: 2.076 MB / 401 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.04528, allocations: 139 kB / 401.2 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.04555, allocations: 75.59 kB / 401.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001469/0.04702, allocations: 1.366 MB / 402.6 MB, free: 8.637 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.04704, allocations: 37.38 kB / 402.7 MB, free: 8.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.112e-06/0.04704, allocations: 0 / 402.7 MB, free: 8.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003471/0.04739, allocations: 193.9 kB / 402.8 MB, free: 8.395 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.04741, allocations: 51.41 kB / 402.9 MB, free: 8.332 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.04773, allocations: 494.4 kB / 403.4 MB, free: 7.832 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.04775, allocations: 29.7 kB / 403.4 MB, free: 7.797 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.04792, allocations: 362.6 kB / 403.8 MB, free: 7.438 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.04796, allocations: 59.48 kB / 403.8 MB, free: 7.379 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.075e-05/0.04805, allocations: 111.7 kB / 403.9 MB, free: 7.262 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.04819, allocations: 0.5274 MB / 404.5 MB, free: 6.723 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.95e-05/0.04827, allocations: 44.97 kB / 404.5 MB, free: 6.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.0485, allocations: 435.4 kB / 404.9 MB, free: 6.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.04886, allocations: 0.5253 MB / 405.4 MB, free: 5.363 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.04886, allocations: 7.938 kB / 405.5 MB, free: 5.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004431/0.04931, allocations: 416.7 kB / 405.9 MB, free: 4.941 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.04932, allocations: 8.938 kB / 405.9 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.04933, allocations: 16 kB / 405.9 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.04935, allocations: 12 kB / 405.9 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.04954, allocations: 115.8 kB / 406 MB, free: 4.793 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.04956, allocations: 20 kB / 406 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.04969, allocations: 55.62 kB / 406.1 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.04973, allocations: 39.97 kB / 406.1 MB, free: 4.68 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 50 * 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.0001033/0.04983, allocations: 188.3 kB / 406.3 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.04989, allocations: 51.72 kB / 406.4 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004304/0.05032, allocations: 389.5 kB / 406.7 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.05032, allocations: 0 / 406.7 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.05032, allocations: 3.938 kB / 406.7 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.05033, allocations: 4 kB / 406.7 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.05077, allocations: 0.6741 MB / 407.4 MB, free: 3.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.05077, allocations: 0 / 407.4 MB, free: 3.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.501e-05/0.05081, allocations: 15.98 kB / 407.4 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.05081, allocations: 3.984 kB / 407.4 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.05082, allocations: 4 kB / 407.4 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.05082, allocations: 3.938 kB / 407.4 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.05082, allocations: 8.125 kB / 407.5 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.05095, allocations: 182.6 kB / 407.6 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.051, allocations: 43.7 kB / 407.7 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.05103, allocations: 11.94 kB / 407.7 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.308e-05/0.05108, allocations: 4 kB / 407.7 MB, free: 2.934 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.0511, allocations: 15.86 kB / 407.7 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.05111, allocations: 4 kB / 407.7 MB, free: 2.914 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000363/0.05147, allocations: 346.8 kB / 408.1 MB, free: 2.578 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.05147, allocations: 0 / 408.1 MB, free: 2.578 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004255/0.0519, allocations: 263 kB / 408.3 MB, free: 2.32 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (6): * Single equations (assignments): 6 * 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.0004308/0.05233, allocations: 402 kB / 408.7 MB, free: 1.918 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.05256, allocations: 185.6 kB / 408.9 MB, free: 1.734 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.05256, allocations: 4 kB / 408.9 MB, free: 1.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.602e-05/0.05259, allocations: 23.73 kB / 408.9 MB, free: 1.703 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.05292, allocations: 121.3 kB / 409 MB, free: 1.586 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.05398, allocations: 0.6575 MB / 409.7 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.707e-05/0.05404, allocations: 109.2 kB / 409.8 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002146/0.05425, allocations: 127 kB / 409.9 MB, free: 0.625 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.409e-05/0.05433, allocations: 60.47 kB / 410 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.05433, allocations: 0 / 410 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of Templates: time 0.1301/0.1844, allocations: 8.282 MB / 418.3 MB, free: 50.44 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1805764650925994]