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.001314/0.001314, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001477/0.001477, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9642/0.9642, allocations: 177.1 MB / 203.7 MB, free: 5.488 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.08671/0.08671, allocations: 17.38 MB / 277.6 MB, free: 11.48 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 3.236e-06/3.236e-06, allocations: 3.984 kB / 353.9 MB, free: 9.695 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.379e-05, allocations: 2.312 kB / 353.9 MB, free: 9.691 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.02559/0.02562, allocations: 27.25 MB / 381.1 MB, free: 14.58 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007073/0.03269, allocations: 9.024 MB / 390.2 MB, free: 5.523 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003836/0.03307, allocations: 19.88 kB / 390.2 MB, free: 5.504 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005589/0.03363, allocations: 202.4 kB / 390.4 MB, free: 5.305 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008225/0.03445, allocations: 376.9 kB / 390.8 MB, free: 4.934 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003664/0.03812, allocations: 1.486 MB / 392.2 MB, free: 3.438 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008207/0.03894, allocations: 0.6889 MB / 392.9 MB, free: 2.746 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002739/0.03921, allocations: 205.7 kB / 393.1 MB, free: 2.539 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003241/0.03954, allocations: 427.2 kB / 393.5 MB, free: 2.121 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003436/0.03988, allocations: 295.4 kB / 393.8 MB, free: 1.832 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.53e-05/0.03993, allocations: 36 kB / 393.9 MB, free: 1.797 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.04151, allocations: 0.7796 MB / 394.6 MB, free: 1.016 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.04161, allocations: 127.5 kB / 394.8 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.04174, allocations: 179.5 kB / 394.9 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.04303, allocations: 1.479 MB / 396.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.04304, allocations: 0 / 396.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.04304, allocations: 0 / 396.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.04304, allocations: 3.938 kB / 396.4 MB, free: 15.22 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.0008183/0.04386, allocations: 0.9885 MB / 397.4 MB, free: 14.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.0439, allocations: 8.031 kB / 397.4 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004661/0.04437, allocations: 259.3 kB / 397.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.04475, allocations: 402.5 kB / 398.1 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.04477, allocations: 25.03 kB / 398.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.04481, allocations: 28.38 kB / 398.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/0.04536, allocations: 444.8 kB / 398.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.04537, allocations: 3.938 kB / 398.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.04539, allocations: 16 kB / 398.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.0454, allocations: 8 kB / 398.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004586/0.04586, allocations: 0.5182 MB / 399.1 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.0473, allocations: 2.076 MB / 401.2 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.04748, allocations: 130.9 kB / 401.3 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.864e-05/0.04756, allocations: 67.64 kB / 401.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/0.04895, allocations: 1.374 MB / 402.7 MB, free: 8.691 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.04897, allocations: 49.38 kB / 402.8 MB, free: 8.633 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.04897, allocations: 0 / 402.8 MB, free: 8.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002799/0.04925, allocations: 177.3 kB / 403 MB, free: 8.453 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.04928, allocations: 55.41 kB / 403 MB, free: 8.387 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.04956, allocations: 490.2 kB / 403.5 MB, free: 7.891 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.04957, allocations: 29.7 kB / 403.5 MB, free: 7.855 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.04974, allocations: 362.4 kB / 403.9 MB, free: 7.496 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.04978, allocations: 67.45 kB / 404 MB, free: 7.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-05/0.04986, allocations: 111.7 kB / 404.1 MB, free: 7.312 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.05, allocations: 0.5273 MB / 404.6 MB, free: 6.773 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.783e-05/0.05005, allocations: 36.97 kB / 404.6 MB, free: 6.738 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.05026, allocations: 439.3 kB / 405.1 MB, free: 6.125 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.05072, allocations: 0.5097 MB / 405.6 MB, free: 5.434 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.05073, allocations: 7.938 kB / 405.6 MB, free: 5.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000359/0.05109, allocations: 401.2 kB / 406 MB, free: 5.027 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.0511, allocations: 8 kB / 406 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.05111, allocations: 12 kB / 406 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.05113, allocations: 12 kB / 406 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.0513, allocations: 111.8 kB / 406.1 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.05131, allocations: 15.94 kB / 406.1 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.05144, allocations: 56.03 kB / 406.2 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.05147, allocations: 39.98 kB / 406.2 MB, free: 4.777 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.0001018/0.05157, allocations: 188.3 kB / 406.4 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.05162, allocations: 51.72 kB / 406.4 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004122/0.05203, allocations: 397.4 kB / 406.8 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.05203, allocations: 0 / 406.8 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.05203, allocations: 0 / 406.8 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.05204, allocations: 0 / 406.8 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003943/0.05243, allocations: 0.6124 MB / 407.4 MB, free: 3.418 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.05244, allocations: 0 / 407.4 MB, free: 3.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.254e-05/0.05247, allocations: 15.98 kB / 407.5 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.05247, allocations: 0 / 407.5 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.05248, allocations: 4 kB / 407.5 MB, free: 3.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.05248, allocations: 0 / 407.5 MB, free: 3.398 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.05248, allocations: 7.938 kB / 407.5 MB, free: 3.391 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.0526, allocations: 182.5 kB / 407.7 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.05264, allocations: 43.7 kB / 407.7 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.05268, allocations: 7.938 kB / 407.7 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.771e-05/0.05273, allocations: 4.031 kB / 407.7 MB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.05274, allocations: 19.86 kB / 407.7 MB, free: 3.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.05275, allocations: 4 kB / 407.7 MB, free: 3.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001659/0.05291, allocations: 326.7 kB / 408 MB, free: 2.773 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05291, allocations: 0 / 408 MB, free: 2.773 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004956/0.05341, allocations: 255.1 kB / 408.3 MB, free: 2.523 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.0004853/0.0539, allocations: 434 kB / 408.7 MB, free: 2.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.0541, allocations: 177.1 kB / 408.9 MB, free: 1.914 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.0541, allocations: 0 / 408.9 MB, free: 1.914 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.996e-05/0.05412, allocations: 21.31 kB / 408.9 MB, free: 1.891 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.05446, allocations: 125.4 kB / 409 MB, free: 1.77 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.001004/0.05547, allocations: 0.673 MB / 409.7 MB, free: 1.039 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.507e-05/0.05552, allocations: 101.3 kB / 409.8 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000203/0.05572, allocations: 115.1 kB / 409.9 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.05589, allocations: 170.1 kB / 410.1 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of SimCode: time 8.51e-07/0.05589, allocations: 7.938 kB / 410.1 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of Templates: time 0.1168/0.1727, allocations: 9.673 MB / 419.8 MB, free: 49.7 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: 2.896565502975136]