Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.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.0008563/0.0008563, 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.0009066/0.0009066, allocations: 169 kB / 23.02 MB, free: 1.551 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.057/1.057, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.09891/0.09891, allocations: 17.37 MB / 277.3 MB, free: 11.66 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 353.4 MB, free: 10 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/3.051e-05, allocations: 2.312 kB / 353.4 MB, free: 9.996 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66: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:14337:7-14337:66: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.SimpleReaction): time 0.03015/0.03018, allocations: 28.02 MB / 381.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00802/0.0382, allocations: 8.065 MB / 389.5 MB, free: 6.008 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004763/0.03868, allocations: 15.88 kB / 389.5 MB, free: 5.992 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005388/0.03921, allocations: 174.5 kB / 389.7 MB, free: 5.816 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.04088, allocations: 0.7289 MB / 390.4 MB, free: 5.082 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.04308, allocations: 1.075 MB / 391.5 MB, free: 4 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009685/0.04405, allocations: 0.9662 MB / 392.5 MB, free: 3.027 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00047/0.04452, allocations: 442.7 kB / 392.9 MB, free: 2.594 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004989/0.04502, allocations: 0.6317 MB / 393.5 MB, free: 1.961 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004645/0.04548, allocations: 423 kB / 393.9 MB, free: 1.547 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.523e-05/0.04558, allocations: 80 kB / 394 MB, free: 1.469 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.04699, allocations: 0.8226 MB / 394.8 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.04715, allocations: 199.4 kB / 395 MB, free: 460 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002347/0.04738, allocations: 299.3 kB / 395.3 MB, free: 160 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001878/0.04926, allocations: 1.642 MB / 397 MB, free: 14.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.04927, allocations: 0 / 397 MB, free: 14.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.04927, allocations: 0 / 397 MB, free: 14.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.04928, allocations: 0 / 397 MB, free: 14.51 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001443/0.05072, allocations: 1.216 MB / 398.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.05077, allocations: 8.031 kB / 398.2 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005262/0.05129, allocations: 247.6 kB / 398.4 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005249/0.05182, allocations: 431.9 kB / 398.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.05193, allocations: 113.9 kB / 399 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.204e-05/0.05202, allocations: 72.33 kB / 399 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000761/0.05278, allocations: 0.631 MB / 399.7 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.0528, allocations: 192 / 399.7 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.05284, allocations: 36.12 kB / 399.7 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.05286, allocations: 16 kB / 399.7 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007445/0.0536, allocations: 0.5814 MB / 400.3 MB, free: 11.07 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002386/0.05599, allocations: 2.008 MB / 402.3 MB, free: 8.996 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009964/0.05698, allocations: 0.802 MB / 403.1 MB, free: 8.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.05724, allocations: 197.5 kB / 403.3 MB, free: 7.984 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001863/0.0591, allocations: 1.551 MB / 404.9 MB, free: 6.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.05913, allocations: 45.33 kB / 404.9 MB, free: 6.355 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 2.054e-06/0.05914, allocations: 0 / 404.9 MB, free: 6.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.00148/0.06062, allocations: 0.9752 MB / 405.9 MB, free: 5.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.06065, allocations: 59.39 kB / 405.9 MB, free: 5.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.061, allocations: 446.4 kB / 406.4 MB, free: 4.816 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.06102, allocations: 37.64 kB / 406.4 MB, free: 4.773 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.06125, allocations: 430.8 kB / 406.8 MB, free: 4.348 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.528e-05/0.06134, allocations: 166.6 kB / 407 MB, free: 4.184 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.06147, allocations: 132.2 kB / 407.1 MB, free: 4.043 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.06164, allocations: 0.5313 MB / 407.7 MB, free: 3.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.06178, allocations: 93.94 kB / 407.7 MB, free: 3.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/0.06207, allocations: 431.4 kB / 408.2 MB, free: 2.848 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005151/0.06258, allocations: 0.5591 MB / 408.7 MB, free: 2.145 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.06259, allocations: 4 kB / 408.7 MB, free: 2.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006048/0.06319, allocations: 0.54 MB / 409.3 MB, free: 1.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.06321, allocations: 8 kB / 409.3 MB, free: 1.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.06322, allocations: 11.98 kB / 409.3 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.06325, allocations: 12 kB / 409.3 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.06364, allocations: 204.2 kB / 409.5 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.06365, allocations: 15.98 kB / 409.5 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.06379, allocations: 23.88 kB / 409.5 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/0.06384, allocations: 40 kB / 409.6 MB, free: 1.281 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (83): * Single equations (assignments): 83 * 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.0001484/0.06398, allocations: 196.3 kB / 409.8 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/0.06405, allocations: 63.67 kB / 409.8 MB, free: 1.016 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005503/0.0646, allocations: 414.8 kB / 410.2 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.0646, allocations: 8 kB / 410.2 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.06461, allocations: 0 / 410.2 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.06462, allocations: 11.92 kB / 410.3 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004588/0.06507, allocations: 477.2 kB / 410.7 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.06508, allocations: 0 / 410.7 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1553/0.2204, allocations: 137 kB / 410.9 MB, free: 51.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/0.2204, allocations: 7.375 kB / 410.9 MB, free: 51.35 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.689e-05/0.2205, allocations: 14.64 kB / 410.9 MB, free: 51.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.2205, allocations: 4.219 kB / 410.9 MB, free: 51.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2205, allocations: 1.188 kB / 410.9 MB, free: 51.35 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007657/0.2212, allocations: 0.6279 MB / 411.5 MB, free: 51.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.2214, allocations: 81.7 kB / 411.6 MB, free: 51.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.2215, allocations: 12.52 kB / 411.6 MB, free: 51.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.2216, allocations: 13.53 kB / 411.6 MB, free: 51.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/0.2217, allocations: 43.95 kB / 411.7 MB, free: 51.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.2217, allocations: 18.97 kB / 411.7 MB, free: 51.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002055/0.2219, allocations: 271.5 kB / 411.9 MB, free: 50.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2219, allocations: 0 / 411.9 MB, free: 50.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008051/0.2227, allocations: 335.8 kB / 412.3 MB, free: 50.98 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.logn) * 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 (53): * Single equations (assignments): 53 * 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.0006508/0.2233, allocations: 457.3 kB / 412.7 MB, free: 50.9 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004955/0.2238, allocations: 352.1 kB / 413.1 MB, free: 50.88 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2238, allocations: 1.375 kB / 413.1 MB, free: 50.88 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.224, allocations: 165 kB / 413.2 MB, free: 50.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/0.2245, allocations: 141.6 kB / 413.4 MB, free: 50.86 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.001857/0.2264, allocations: 1.126 MB / 414.5 MB, free: 50.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.416e-05/0.2265, allocations: 135 kB / 414.6 MB, free: 50.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002648/0.2267, allocations: 114.3 kB / 414.7 MB, free: 50.24 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.2268, allocations: 75.83 kB / 414.8 MB, free: 50.23 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2268, allocations: 0 / 414.8 MB, free: 50.23 MB / 330.7 MB Notification: Performance of Templates: time 0.01206/0.2389, allocations: 10.19 MB / 425 MB, free: 48.19 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4413823178038]