Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0009558/0.0009558, 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.001057/0.001057, 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 0.9403/0.9403, 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.09862/0.09862, 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 353.5 MB, free: 9.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.881e-05, allocations: 6.25 kB / 353.5 MB, free: 9.852 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.02896/0.02899, allocations: 28.03 MB / 381.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007764/0.03675, allocations: 8.073 MB / 389.6 MB, free: 5.855 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008184/0.03757, allocations: 11.88 kB / 389.7 MB, free: 5.844 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006004/0.03817, allocations: 174.5 kB / 389.8 MB, free: 5.672 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001804/0.03997, allocations: 0.721 MB / 390.5 MB, free: 4.945 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002805/0.04278, allocations: 1.083 MB / 391.6 MB, free: 3.855 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.04403, allocations: 0.9584 MB / 392.6 MB, free: 2.891 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006272/0.04466, allocations: 446.7 kB / 393 MB, free: 2.453 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007176/0.04537, allocations: 0.6356 MB / 393.7 MB, free: 1.816 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000608/0.04598, allocations: 419 kB / 394.1 MB, free: 1.406 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.0461, allocations: 79.94 kB / 394.1 MB, free: 1.328 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/0.04834, allocations: 0.8226 MB / 395 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.04853, allocations: 199.4 kB / 395.2 MB, free: 316 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003456/0.04888, allocations: 307.3 kB / 395.5 MB, free: 8 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002594/0.05147, allocations: 1.626 MB / 397.1 MB, free: 14.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.05148, allocations: 3.984 kB / 397.1 MB, free: 14.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.05148, allocations: 0 / 397.1 MB, free: 14.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.05149, allocations: 0 / 397.1 MB, free: 14.37 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.00196/0.05345, allocations: 1.219 MB / 398.3 MB, free: 13.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.0535, allocations: 8.031 kB / 398.3 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007559/0.05426, allocations: 251.5 kB / 398.6 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007648/0.05502, allocations: 431.9 kB / 399 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.05515, allocations: 106 kB / 399.1 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.05528, allocations: 72.33 kB / 399.2 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.0564, allocations: 0.6387 MB / 399.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.05641, allocations: 192 / 399.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.521e-05/0.05648, allocations: 28.12 kB / 399.8 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.0565, allocations: 16 kB / 399.8 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.05757, allocations: 0.5853 MB / 400.4 MB, free: 10.93 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.003317/0.06089, allocations: 2.008 MB / 402.4 MB, free: 8.855 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.06258, allocations: 0.8097 MB / 403.2 MB, free: 8.031 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/0.0629, allocations: 193.6 kB / 403.4 MB, free: 7.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002635/0.06553, allocations: 1.555 MB / 405 MB, free: 6.262 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.06557, allocations: 37.39 kB / 405 MB, free: 6.215 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 2.735e-06/0.06557, allocations: 4 kB / 405 MB, free: 6.211 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.002106/0.06767, allocations: 0.9753 MB / 406 MB, free: 5.195 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.06772, allocations: 55.41 kB / 406.1 MB, free: 5.129 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004419/0.06816, allocations: 450.4 kB / 406.5 MB, free: 4.672 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.06819, allocations: 29.7 kB / 406.5 MB, free: 4.637 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.06846, allocations: 426.8 kB / 406.9 MB, free: 4.215 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.0686, allocations: 170.6 kB / 407.1 MB, free: 4.047 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.06878, allocations: 140.2 kB / 407.2 MB, free: 3.898 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.069, allocations: 0.5235 MB / 407.8 MB, free: 3.363 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.06921, allocations: 93.92 kB / 407.9 MB, free: 3.273 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000423/0.06963, allocations: 431.4 kB / 408.3 MB, free: 2.711 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006985/0.07033, allocations: 0.563 MB / 408.8 MB, free: 2.004 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.07033, allocations: 4 kB / 408.9 MB, free: 2 MB / 330.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0008801/0.07121, allocations: 0.5404 MB / 409.4 MB, free: 1.449 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.07124, allocations: 8.188 kB / 409.4 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.07125, allocations: 12 kB / 409.4 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.924e-05/0.07128, allocations: 12 kB / 409.4 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.07234, allocations: 199.7 kB / 409.6 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/0.07236, allocations: 15.94 kB / 409.6 MB, free: 1.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.07262, allocations: 23.94 kB / 409.7 MB, free: 1.184 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.895e-05/0.07267, allocations: 35.98 kB / 409.7 MB, free: 1.148 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.0001981/0.07287, allocations: 208.3 kB / 409.9 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.882e-05/0.07296, allocations: 63.67 kB / 410 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007591/0.07372, allocations: 422.6 kB / 410.4 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.07373, allocations: 4 kB / 410.4 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.07373, allocations: 4 kB / 410.4 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.07374, allocations: 3.938 kB / 410.4 MB, free: 452 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1607/0.2345, allocations: 472 kB / 410.8 MB, free: 51.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.2345, allocations: 4.719 kB / 410.8 MB, free: 51.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005142/0.235, allocations: 139.3 kB / 411 MB, free: 51.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.235, allocations: 3.094 kB / 411 MB, free: 51.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.754e-05/0.2351, allocations: 17.09 kB / 411 MB, free: 51.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.2351, allocations: 2.438 kB / 411 MB, free: 51.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.2351, allocations: 2.969 kB / 411 MB, free: 51.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008919/0.236, allocations: 0.6277 MB / 411.6 MB, free: 50.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.2362, allocations: 84.95 kB / 411.7 MB, free: 50.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.2362, allocations: 11.42 kB / 411.7 MB, free: 50.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.2363, allocations: 10.64 kB / 411.7 MB, free: 50.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.046e-05/0.2364, allocations: 44.3 kB / 411.8 MB, free: 50.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.2365, allocations: 17.86 kB / 411.8 MB, free: 50.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002432/0.2367, allocations: 275 kB / 412.1 MB, free: 50.78 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2367, allocations: 4.594 kB / 412.1 MB, free: 50.78 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008804/0.2376, allocations: 335.7 kB / 412.4 MB, free: 50.78 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.0007081/0.2383, allocations: 452.3 kB / 412.8 MB, free: 50.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005493/0.2388, allocations: 351.2 kB / 413.2 MB, free: 50.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2388, allocations: 0 / 413.2 MB, free: 50.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.2391, allocations: 163.2 kB / 413.3 MB, free: 50.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.2396, allocations: 139.1 kB / 413.5 MB, free: 50.66 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.002115/0.2417, allocations: 1.132 MB / 414.6 MB, free: 50.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.2418, allocations: 134.9 kB / 414.7 MB, free: 50.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003231/0.2421, allocations: 113.9 kB / 414.9 MB, free: 50.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.2423, allocations: 74.17 kB / 414.9 MB, free: 50.02 MB / 330.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2423, allocations: 0 / 414.9 MB, free: 50.02 MB / 330.7 MB Notification: Performance of Templates: time 0.01473/0.257, allocations: 10.19 MB / 425.1 MB, free: 47.98 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4814436309970915]