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.001117/0.001117, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001215/0.001215, allocations: 181 kB / 23.36 MB, free: 1.133 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.9711/0.9711, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.09698/0.09698, allocations: 17.38 MB / 277.6 MB, free: 11.51 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.974e-06/1.974e-06, allocations: 0 / 300.7 MB, free: 1.641 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.092e-05, allocations: 3.188 kB / 300.7 MB, free: 1.637 MB / 266.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.03535/0.03537, allocations: 33.1 MB / 333.8 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007625/0.043, allocations: 9.146 MB / 342.9 MB, free: 10.13 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003086/0.04331, allocations: 19.81 kB / 342.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005615/0.04387, allocations: 210.4 kB / 343.1 MB, free: 9.906 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008629/0.04473, allocations: 372.9 kB / 343.5 MB, free: 9.539 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002864/0.04759, allocations: 1.47 MB / 345 MB, free: 8.059 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007813/0.04838, allocations: 0.7006 MB / 345.7 MB, free: 7.355 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002845/0.04866, allocations: 209.8 kB / 345.9 MB, free: 7.145 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003524/0.04901, allocations: 419.2 kB / 346.3 MB, free: 6.734 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003946/0.04941, allocations: 291.3 kB / 346.6 MB, free: 6.449 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.368e-05/0.04946, allocations: 36 kB / 346.6 MB, free: 6.414 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.05092, allocations: 0.8108 MB / 347.4 MB, free: 5.602 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.05104, allocations: 127.5 kB / 347.5 MB, free: 5.477 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.05117, allocations: 175.6 kB / 347.7 MB, free: 5.305 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.05277, allocations: 1.482 MB / 349.2 MB, free: 3.816 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.05278, allocations: 0 / 349.2 MB, free: 3.816 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.05278, allocations: 4 kB / 349.2 MB, free: 3.812 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.05279, allocations: 3.938 kB / 349.2 MB, free: 3.809 MB / 314.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.0009368/0.05373, allocations: 0.8447 MB / 350 MB, free: 2.938 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.05376, allocations: 8.031 kB / 350.1 MB, free: 2.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000509/0.05427, allocations: 247.6 kB / 350.3 MB, free: 2.688 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.05467, allocations: 375.7 kB / 350.7 MB, free: 2.293 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.05469, allocations: 21.03 kB / 350.7 MB, free: 2.273 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/0.05473, allocations: 32.38 kB / 350.7 MB, free: 2.242 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.05511, allocations: 426.1 kB / 351.1 MB, free: 1.789 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.05513, allocations: 11.88 kB / 351.1 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.05515, allocations: 12 kB / 351.2 MB, free: 1.766 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.05516, allocations: 8 kB / 351.2 MB, free: 1.758 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004625/0.05563, allocations: 477.6 kB / 351.6 MB, free: 1.289 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.05694, allocations: 1.514 MB / 353.1 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.05711, allocations: 157.2 kB / 353.3 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.601e-05/0.05718, allocations: 61.42 kB / 353.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/0.05871, allocations: 1.255 MB / 354.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.05874, allocations: 34.55 kB / 354.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 2.254e-06/0.05874, allocations: 0 / 354.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002347/0.05898, allocations: 175.2 kB / 354.8 MB, free: 14.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.05901, allocations: 55.41 kB / 354.9 MB, free: 13.94 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.05924, allocations: 407 kB / 355.3 MB, free: 13.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.05925, allocations: 33.7 kB / 355.3 MB, free: 13.49 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.05937, allocations: 260.7 kB / 355.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.05941, allocations: 67.45 kB / 355.6 MB, free: 13.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.351e-05/0.05949, allocations: 98.11 kB / 355.7 MB, free: 13.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.0596, allocations: 362.7 kB / 356.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.561e-05/0.05965, allocations: 43.8 kB / 356.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.05984, allocations: 305.8 kB / 356.4 MB, free: 12.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.06014, allocations: 403.1 kB / 356.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.06015, allocations: 4 kB / 356.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003399/0.06049, allocations: 339.9 kB / 357.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.06051, allocations: 8 kB / 357.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.06052, allocations: 12 kB / 357.2 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.06054, allocations: 12 kB / 357.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.06074, allocations: 120.5 kB / 357.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.06076, allocations: 19.94 kB / 357.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.06089, allocations: 55.62 kB / 357.4 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/0.06093, allocations: 35.98 kB / 357.4 MB, free: 11.1 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.0001086/0.06104, allocations: 140.5 kB / 357.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.06108, allocations: 35.89 kB / 357.6 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004431/0.06152, allocations: 358.2 kB / 357.9 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.06153, allocations: 0 / 357.9 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.06153, allocations: 0 / 357.9 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.06153, allocations: 4 kB / 357.9 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004033/0.06194, allocations: 0.5035 MB / 358.4 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.06194, allocations: 0 / 358.4 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.863e-05/0.06198, allocations: 15.94 kB / 358.4 MB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.06198, allocations: 0 / 358.4 MB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.06199, allocations: 12.05 kB / 358.5 MB, free: 9.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.062, allocations: 0 / 358.5 MB, free: 9.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.062, allocations: 4 kB / 358.5 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.06213, allocations: 149 kB / 358.6 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.06218, allocations: 43.91 kB / 358.6 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.06221, allocations: 4 kB / 358.7 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.933e-05/0.06226, allocations: 4 kB / 358.7 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/0.06228, allocations: 11.92 kB / 358.7 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.06228, allocations: 0 / 358.7 MB, free: 9.676 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001344/0.06242, allocations: 208.4 kB / 358.9 MB, free: 9.473 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06242, allocations: 0 / 358.9 MB, free: 9.473 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004433/0.06286, allocations: 259 kB / 359.1 MB, free: 9.219 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.0004832/0.06334, allocations: 415.1 kB / 359.5 MB, free: 8.805 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.06353, allocations: 159.6 kB / 359.7 MB, free: 8.648 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/0.06354, allocations: 8.5 kB / 359.7 MB, free: 8.641 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.079e-05/0.06356, allocations: 25.36 kB / 359.7 MB, free: 8.613 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.06385, allocations: 123.8 kB / 359.8 MB, free: 8.5 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.001021/0.06488, allocations: 0.6764 MB / 360.5 MB, free: 7.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.144e-05/0.06494, allocations: 101.3 kB / 360.6 MB, free: 7.652 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002118/0.06515, allocations: 115.1 kB / 360.7 MB, free: 7.539 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.06532, allocations: 143.3 kB / 360.9 MB, free: 7.398 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.06532, allocations: 0 / 360.9 MB, free: 7.398 MB / 330.7 MB Notification: Performance of Templates: time 0.0116/0.07692, allocations: 9.665 MB / 370.5 MB, free: 13.79 MB / 346.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.928810443263501]