Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.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.0009422/0.0009422, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0008889/0.0008889, allocations: 173 kB / 23.49 MB, free: 1.055 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.9484/0.9484, allocations: 177.1 MB / 203.8 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.08689/0.08689, allocations: 17.38 MB / 277.7 MB, free: 11.71 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 353.4 MB, free: 10.31 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.238e-05, allocations: 2.312 kB / 353.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003161/0.003183, allocations: 3.023 MB / 356.5 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005087/0.00827, allocations: 6.297 MB / 362.8 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000358/0.008628, allocations: 11.88 kB / 362.8 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004328/0.009061, allocations: 139 kB / 362.9 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005652/0.009626, allocations: 273.7 kB / 363.2 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.01127, allocations: 0.9973 MB / 364.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005878/0.01185, allocations: 0.4985 MB / 364.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000251/0.01211, allocations: 152.6 kB / 364.8 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002588/0.01236, allocations: 295.5 kB / 365.1 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/0.01269, allocations: 219.5 kB / 365.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.273e-05/0.01274, allocations: 24 kB / 365.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009627/0.0137, allocations: 0.5223 MB / 365.9 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.01382, allocations: 87.67 kB / 366 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.01394, allocations: 127.7 kB / 366.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.01524, allocations: 0.996 MB / 367.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.01524, allocations: 0 / 367.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01524, allocations: 0 / 367.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.01525, allocations: 0 / 367.1 MB, free: 12.61 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008406/0.01609, allocations: 0.8022 MB / 367.9 MB, free: 11.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.01613, allocations: 12.03 kB / 367.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004495/0.01658, allocations: 167.8 kB / 368.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.017, allocations: 324.4 kB / 368.4 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.01702, allocations: 16.88 kB / 368.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.01705, allocations: 20.38 kB / 368.4 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.01748, allocations: 350.9 kB / 368.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.01749, allocations: 3.938 kB / 368.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.01752, allocations: 8 kB / 368.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.01753, allocations: 4 kB / 368.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004734/0.01801, allocations: 404.4 kB / 369.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.01935, allocations: 1.555 MB / 370.7 MB, free: 8.801 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.01955, allocations: 111 kB / 370.8 MB, free: 8.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.718e-05/0.01964, allocations: 51.66 kB / 370.9 MB, free: 8.625 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.02075, allocations: 1.034 MB / 371.9 MB, free: 7.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.02078, allocations: 33.39 kB / 371.9 MB, free: 7.527 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.02078, allocations: 0 / 371.9 MB, free: 7.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003255/0.0211, allocations: 161.2 kB / 372.1 MB, free: 7.367 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.02114, allocations: 51.41 kB / 372.2 MB, free: 7.305 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.0214, allocations: 398.6 kB / 372.5 MB, free: 6.898 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.02142, allocations: 25.7 kB / 372.6 MB, free: 6.867 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.02155, allocations: 286.6 kB / 372.9 MB, free: 6.578 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.02158, allocations: 43.64 kB / 372.9 MB, free: 6.535 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.297e-05/0.02165, allocations: 83.3 kB / 373 MB, free: 6.445 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.02179, allocations: 0.5235 MB / 373.5 MB, free: 5.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.542e-05/0.02185, allocations: 27.97 kB / 373.5 MB, free: 5.883 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.02202, allocations: 306.8 kB / 373.8 MB, free: 5.461 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.0223, allocations: 362.6 kB / 374.2 MB, free: 4.984 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.02231, allocations: 0 / 374.2 MB, free: 4.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003277/0.02263, allocations: 309.5 kB / 374.5 MB, free: 4.676 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.02265, allocations: 8 kB / 374.5 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.02266, allocations: 8 kB / 374.5 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.02269, allocations: 12.03 kB / 374.5 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.02284, allocations: 83.89 kB / 374.6 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.02285, allocations: 11.94 kB / 374.6 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.02295, allocations: 31.78 kB / 374.6 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.02298, allocations: 24 kB / 374.7 MB, free: 4.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (35): * Single equations (assignments): 35 * 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.000112/0.02309, allocations: 180.4 kB / 374.8 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.02314, allocations: 43.69 kB / 374.9 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/0.02349, allocations: 276.9 kB / 375.1 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.0235, allocations: 4 kB / 375.1 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.0235, allocations: 0 / 375.1 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.02351, allocations: 0 / 375.1 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.02392, allocations: 0.6156 MB / 375.8 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.02392, allocations: 4 kB / 375.8 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.02396, allocations: 12.12 kB / 375.8 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.02396, allocations: 4 kB / 375.8 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.02397, allocations: 4 kB / 375.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.02397, allocations: 0 / 375.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.02397, allocations: 7.938 kB / 375.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.02413, allocations: 170.6 kB / 376 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.02417, allocations: 35.7 kB / 376 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.0242, allocations: 8 kB / 376 MB, free: 2.988 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.229e-05/0.02424, allocations: 0 / 376 MB, free: 2.988 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/0.02427, allocations: 11.92 kB / 376 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.02427, allocations: 4 kB / 376 MB, free: 2.973 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001973/0.02447, allocations: 287.1 kB / 376.3 MB, free: 2.691 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02447, allocations: 0 / 376.3 MB, free: 2.691 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004044/0.02487, allocations: 179.3 kB / 376.5 MB, free: 2.516 MB / 298.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.0004743/0.02535, allocations: 314.3 kB / 376.8 MB, free: 2.199 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003661/0.02571, allocations: 120.5 kB / 376.9 MB, free: 2.078 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.02572, allocations: 7.938 kB / 376.9 MB, free: 2.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.528e-05/0.02574, allocations: 27.61 kB / 376.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.0261, allocations: 88.78 kB / 377 MB, free: 1.961 MB / 298.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.02732, allocations: 0.544 MB / 377.6 MB, free: 1.363 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.366e-05/0.02738, allocations: 92.3 kB / 377.7 MB, free: 1.254 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001863/0.02757, allocations: 86.56 kB / 377.7 MB, free: 1.168 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.978e-05/0.02764, allocations: 48.42 kB / 377.8 MB, free: 1.121 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02764, allocations: 0 / 377.8 MB, free: 1.121 MB / 298.7 MB Notification: Performance of Templates: time 0.008363/0.036, allocations: 6.023 MB / 383.8 MB, free: 11.18 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8622737037949264]