Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0009938/0.0009938, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009717/0.0009717, allocations: 173 kB / 23.03 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 1.026/1.026, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1175/0.1175, allocations: 17.46 MB / 277.4 MB, free: 11.55 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 353.6 MB, free: 9.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.102e-05, allocations: 5.125 kB / 353.6 MB, free: 9.848 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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 master/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.02181/0.02183, allocations: 27.23 MB / 380.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006994/0.02883, allocations: 9.267 MB / 390.1 MB, free: 5.449 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.02903, allocations: 15.88 kB / 390.1 MB, free: 5.434 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000425/0.02945, allocations: 206.4 kB / 390.3 MB, free: 5.23 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005375/0.02999, allocations: 365 kB / 390.6 MB, free: 4.871 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.03172, allocations: 1.498 MB / 392.1 MB, free: 3.363 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006945/0.03242, allocations: 0.689 MB / 392.8 MB, free: 2.672 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.03265, allocations: 201.7 kB / 393 MB, free: 2.469 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.03294, allocations: 427.2 kB / 393.4 MB, free: 2.051 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.03322, allocations: 291.4 kB / 393.7 MB, free: 1.766 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.197e-05/0.03327, allocations: 36 kB / 393.8 MB, free: 1.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008239/0.0341, allocations: 0.7913 MB / 394.5 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.144e-05/0.03419, allocations: 127.5 kB / 394.7 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.03432, allocations: 175.6 kB / 394.8 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.03554, allocations: 1.478 MB / 396.3 MB, free: 15.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.03554, allocations: 0 / 396.3 MB, free: 15.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.03555, allocations: 4 kB / 396.3 MB, free: 15.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.03555, allocations: 0 / 396.3 MB, free: 15.15 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.0008528/0.03641, allocations: 0.9769 MB / 397.3 MB, free: 14.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.03644, allocations: 15.97 kB / 397.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000495/0.03694, allocations: 255.3 kB / 397.6 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.03732, allocations: 410.5 kB / 398 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.03734, allocations: 28.97 kB / 398 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.03739, allocations: 28.38 kB / 398 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/0.03788, allocations: 472.8 kB / 398.5 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.03789, allocations: 7.938 kB / 398.5 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.03792, allocations: 12 kB / 398.5 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.03794, allocations: 8 kB / 398.5 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006093/0.03855, allocations: 0.5814 MB / 399.1 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.04014, allocations: 2.072 MB / 401.2 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.04036, allocations: 131 kB / 401.3 MB, free: 9.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.04047, allocations: 75.64 kB / 401.4 MB, free: 9.902 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/0.04191, allocations: 1.358 MB / 402.7 MB, free: 8.523 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.04193, allocations: 41.31 kB / 402.8 MB, free: 8.473 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.04193, allocations: 3.938 kB / 402.8 MB, free: 8.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003419/0.04227, allocations: 199.6 kB / 403 MB, free: 8.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.0423, allocations: 55.41 kB / 403 MB, free: 8.203 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.04261, allocations: 490.4 kB / 403.5 MB, free: 7.707 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.04263, allocations: 29.7 kB / 403.5 MB, free: 7.672 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.04278, allocations: 354.6 kB / 403.9 MB, free: 7.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.04282, allocations: 71.45 kB / 403.9 MB, free: 7.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.463e-05/0.0429, allocations: 107.8 kB / 404 MB, free: 7.137 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.04302, allocations: 0.5274 MB / 404.6 MB, free: 6.598 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.441e-05/0.0431, allocations: 48.97 kB / 404.6 MB, free: 6.551 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.04332, allocations: 439.4 kB / 405.1 MB, free: 5.938 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.04367, allocations: 0.5214 MB / 405.6 MB, free: 5.234 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.04368, allocations: 7.938 kB / 405.6 MB, free: 5.227 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004203/0.0441, allocations: 413 kB / 406 MB, free: 4.816 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.04411, allocations: 12 kB / 406 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.04412, allocations: 8.078 kB / 406 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.04414, allocations: 12 kB / 406 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.04433, allocations: 112.5 kB / 406.1 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.04434, allocations: 23.91 kB / 406.1 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.04447, allocations: 59.62 kB / 406.2 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.04451, allocations: 39.94 kB / 406.2 MB, free: 4.555 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.0002467/0.04476, allocations: 188.3 kB / 406.4 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.04481, allocations: 51.72 kB / 406.5 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004238/0.04523, allocations: 389.5 kB / 406.9 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.04523, allocations: 0 / 406.9 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.04524, allocations: 4 kB / 406.9 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.04524, allocations: 0 / 406.9 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/0.04567, allocations: 0.6779 MB / 407.5 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.04568, allocations: 0 / 407.5 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.04571, allocations: 15.98 kB / 407.6 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.04571, allocations: 0 / 407.6 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.04572, allocations: 4 kB / 407.6 MB, free: 3.105 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.04572, allocations: 0 / 407.6 MB, free: 3.105 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.04573, allocations: 4 kB / 407.6 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.04585, allocations: 178.5 kB / 407.7 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.04589, allocations: 51.89 kB / 407.8 MB, free: 2.832 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.04593, allocations: 15.88 kB / 407.8 MB, free: 2.816 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.134e-05/0.04598, allocations: 0 / 407.8 MB, free: 2.816 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.046, allocations: 11.92 kB / 407.8 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.04601, allocations: 4 kB / 407.8 MB, free: 2.801 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002883/0.0463, allocations: 350.8 kB / 408.2 MB, free: 2.461 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.0463, allocations: 3.938 kB / 408.2 MB, free: 2.457 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003998/0.0467, allocations: 255.1 kB / 408.4 MB, free: 2.207 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.0004924/0.04719, allocations: 418 kB / 408.8 MB, free: 1.789 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002988/0.04749, allocations: 190.6 kB / 409 MB, free: 1.602 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.04749, allocations: 0 / 409 MB, free: 1.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.625e-05/0.04751, allocations: 23.61 kB / 409 MB, free: 1.574 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.04786, allocations: 113.8 kB / 409.1 MB, free: 1.461 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.001064/0.04892, allocations: 0.6653 MB / 409.8 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.52e-05/0.04898, allocations: 101.3 kB / 409.9 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000204/0.04918, allocations: 119.1 kB / 410 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/0.04926, allocations: 56.47 kB / 410.1 MB, free: 464 kB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.04926, allocations: 0 / 410.1 MB, free: 464 kB / 330.7 MB Notification: Performance of Templates: time 0.1627/0.2119, allocations: 9.631 MB / 419.7 MB, free: 49.93 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.220459369942546]