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.0009811/0.0009811, 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.001052/0.001052, allocations: 173 kB / 23.03 MB, free: 1.543 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.9588/0.9588, 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.09418/0.09418, 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.532e-06/1.532e-06, allocations: 0 / 353.4 MB, free: 9.969 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.288e-05, allocations: 2.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.02419/0.02421, allocations: 27.24 MB / 380.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00732/0.03153, allocations: 9.259 MB / 389.9 MB, free: 5.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002566/0.03179, allocations: 15.88 kB / 390 MB, free: 5.555 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005417/0.03233, allocations: 210.4 kB / 390.2 MB, free: 5.348 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006805/0.03301, allocations: 372.9 kB / 390.5 MB, free: 4.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00257/0.03558, allocations: 1.482 MB / 392 MB, free: 3.488 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006745/0.03626, allocations: 0.6929 MB / 392.7 MB, free: 2.793 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002627/0.03652, allocations: 201.7 kB / 392.9 MB, free: 2.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/0.03683, allocations: 423.2 kB / 393.3 MB, free: 2.176 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.03714, allocations: 295.4 kB / 393.6 MB, free: 1.887 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.393e-05/0.0372, allocations: 36 kB / 393.6 MB, free: 1.852 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009981/0.03819, allocations: 0.7835 MB / 394.4 MB, free: 1.066 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.974e-05/0.03829, allocations: 131.5 kB / 394.5 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.03843, allocations: 175.6 kB / 394.7 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.03972, allocations: 1.486 MB / 396.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.03973, allocations: 0 / 396.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.03973, allocations: 0 / 396.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.03974, allocations: 0 / 396.2 MB, free: 15.27 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.0008799/0.04062, allocations: 0.9808 MB / 397.2 MB, free: 14.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.04066, allocations: 16.03 kB / 397.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005006/0.04116, allocations: 251.3 kB / 397.4 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.04156, allocations: 414.4 kB / 397.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.04158, allocations: 21.03 kB / 397.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.04162, allocations: 32.38 kB / 397.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000474/0.0421, allocations: 472.8 kB / 398.4 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.04211, allocations: 7.922 kB / 398.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.04214, allocations: 16 kB / 398.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.04216, allocations: 8 kB / 398.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006113/0.04277, allocations: 0.5775 MB / 399 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.04434, allocations: 2.068 MB / 401 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.04459, allocations: 142.9 kB / 401.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.04471, allocations: 75.59 kB / 401.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001469/0.04618, allocations: 1.362 MB / 402.6 MB, free: 8.633 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.0462, allocations: 37.39 kB / 402.7 MB, free: 8.586 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.954e-06/0.0462, allocations: 0 / 402.7 MB, free: 8.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003664/0.04657, allocations: 189.3 kB / 402.8 MB, free: 8.395 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.0466, allocations: 55.41 kB / 402.9 MB, free: 8.328 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.04692, allocations: 494.4 kB / 403.4 MB, free: 7.828 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.04694, allocations: 37.64 kB / 403.4 MB, free: 7.785 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.04711, allocations: 354.6 kB / 403.8 MB, free: 7.434 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.04715, allocations: 67.47 kB / 403.8 MB, free: 7.367 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-05/0.04725, allocations: 107.7 kB / 403.9 MB, free: 7.254 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.04741, allocations: 0.5274 MB / 404.5 MB, free: 6.715 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.04752, allocations: 48.95 kB / 404.5 MB, free: 6.668 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.04778, allocations: 435.4 kB / 404.9 MB, free: 6.059 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.04817, allocations: 0.5253 MB / 405.5 MB, free: 5.352 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.04817, allocations: 3.938 kB / 405.5 MB, free: 5.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004368/0.04861, allocations: 413.5 kB / 405.9 MB, free: 4.938 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.04863, allocations: 13.25 kB / 405.9 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.04864, allocations: 16.14 kB / 405.9 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.04866, allocations: 12 kB / 405.9 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.04885, allocations: 115.8 kB / 406 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.04887, allocations: 15.94 kB / 406 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.049, allocations: 55.62 kB / 406.1 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.04904, allocations: 39.98 kB / 406.1 MB, free: 4.676 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.0001173/0.04915, allocations: 188.3 kB / 406.3 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.04921, allocations: 47.72 kB / 406.4 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004393/0.04965, allocations: 397.5 kB / 406.7 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.04965, allocations: 8 kB / 406.8 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.04965, allocations: 3.938 kB / 406.8 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.04965, allocations: 0 / 406.8 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004726/0.05013, allocations: 0.6702 MB / 407.4 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.05013, allocations: 4 kB / 407.4 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.05016, allocations: 11.98 kB / 407.4 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.05017, allocations: 0 / 407.4 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.05018, allocations: 4 kB / 407.4 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.05018, allocations: 8.188 kB / 407.5 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.05019, allocations: 3.938 kB / 407.5 MB, free: 3.211 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.05033, allocations: 186.6 kB / 407.6 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.05038, allocations: 43.7 kB / 407.7 MB, free: 2.941 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.05042, allocations: 7.938 kB / 407.7 MB, free: 2.934 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.104e-05/0.05047, allocations: 0 / 407.7 MB, free: 2.934 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.05049, allocations: 15.86 kB / 407.7 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.0505, allocations: 8 kB / 407.7 MB, free: 2.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002378/0.05073, allocations: 350.7 kB / 408.1 MB, free: 2.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05073, allocations: 0 / 408.1 MB, free: 2.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004386/0.05117, allocations: 263 kB / 408.3 MB, free: 2.312 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.0004898/0.05166, allocations: 410 kB / 408.7 MB, free: 1.902 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002443/0.05191, allocations: 181 kB / 408.9 MB, free: 1.723 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.05191, allocations: 0 / 408.9 MB, free: 1.723 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.384e-05/0.05193, allocations: 25.36 kB / 408.9 MB, free: 1.695 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.05229, allocations: 120.3 kB / 409 MB, free: 1.578 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.001105/0.05339, allocations: 0.6653 MB / 409.7 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.987e-05/0.05345, allocations: 105.2 kB / 409.8 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002142/0.05366, allocations: 123.1 kB / 409.9 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.563e-05/0.05374, allocations: 56.47 kB / 410 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.05374, allocations: 0 / 410 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of Templates: time 0.1557/0.2094, allocations: 9.611 MB / 419.6 MB, free: 49.73 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.2425775290466845]