Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.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.001015/0.001015, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001354/0.001354, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.001/1.001, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.1117/0.1117, allocations: 17.46 MB / 278.5 MB, free: 11.4 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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 354.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.36e-05, allocations: 2.312 kB / 354.8 MB, free: 10.59 MB / 330.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.SimpleReaction2): time 0.02945/0.02947, allocations: 28.79 MB / 383.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009538/0.03901, allocations: 11.42 MB / 395 MB, free: 2.438 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007618/0.03977, allocations: 15.88 kB / 395 MB, free: 2.422 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006628/0.04044, allocations: 242 kB / 395.3 MB, free: 2.184 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002154/0.04259, allocations: 1.031 MB / 396.3 MB, free: 1.145 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.04582, allocations: 1.58 MB / 397.9 MB, free: 15.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.04726, allocations: 1.306 MB / 399.2 MB, free: 14.24 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007423/0.04801, allocations: 0.5889 MB / 399.8 MB, free: 13.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.04913, allocations: 0.8501 MB / 400.6 MB, free: 12.78 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009227/0.05005, allocations: 0.5535 MB / 401.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.05023, allocations: 112 kB / 401.3 MB, free: 12.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/0.05318, allocations: 1.236 MB / 402.5 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002545/0.05344, allocations: 267.1 kB / 402.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004351/0.05387, allocations: 407.1 kB / 403.2 MB, free: 10.22 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004099/0.05797, allocations: 2.354 MB / 405.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.05798, allocations: 0 / 405.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.05798, allocations: 0 / 405.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.05799, allocations: 0 / 405.5 MB, free: 7.855 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002367/0.06036, allocations: 1.55 MB / 407.1 MB, free: 6.262 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.0604, allocations: 8.031 kB / 407.1 MB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009414/0.06134, allocations: 355 kB / 407.4 MB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007282/0.06207, allocations: 0.5213 MB / 407.9 MB, free: 5.355 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.06217, allocations: 126 kB / 408.1 MB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.06231, allocations: 96.3 kB / 408.2 MB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.06334, allocations: 0.7761 MB / 408.9 MB, free: 4.324 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.06336, allocations: 192 / 408.9 MB, free: 4.324 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.159e-05/0.06344, allocations: 40.12 kB / 409 MB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.06346, allocations: 20 kB / 409 MB, free: 4.266 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.06449, allocations: 0.7239 MB / 409.7 MB, free: 3.543 MB / 378.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.003633/0.06813, allocations: 2.612 MB / 412.3 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.06988, allocations: 1.259 MB / 413.6 MB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.07019, allocations: 226.5 kB / 413.8 MB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003182/0.07337, allocations: 2.107 MB / 415.9 MB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.07341, allocations: 45.89 kB / 416 MB, free: 13.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=56): time 2.004e-06/0.07341, allocations: 0 / 416 MB, free: 13.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=63): time 0.001901/0.07531, allocations: 1.121 MB / 417.1 MB, free: 12.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.07535, allocations: 56.06 kB / 417.1 MB, free: 11.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004112/0.07576, allocations: 0.5293 MB / 417.7 MB, free: 11.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.07579, allocations: 37.7 kB / 417.7 MB, free: 11.37 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.07607, allocations: 0.5257 MB / 418.2 MB, free: 10.83 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.07623, allocations: 230 kB / 418.5 MB, free: 10.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.07642, allocations: 184.1 kB / 418.6 MB, free: 10.42 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.07662, allocations: 0.5584 MB / 419.2 MB, free: 9.848 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.07677, allocations: 101.9 kB / 419.3 MB, free: 9.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004088/0.07718, allocations: 0.5674 MB / 419.9 MB, free: 8.977 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006666/0.07785, allocations: 0.7387 MB / 420.6 MB, free: 8.031 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.07785, allocations: 4 kB / 420.6 MB, free: 8.027 MB / 394.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0008683/0.07872, allocations: 0.6806 MB / 421.3 MB, free: 7.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.07874, allocations: 8 kB / 421.3 MB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.07876, allocations: 12 kB / 421.3 MB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.07878, allocations: 16 kB / 421.3 MB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006645/0.07944, allocations: 263.6 kB / 421.6 MB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/0.07946, allocations: 24.19 kB / 421.6 MB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.07976, allocations: 28 kB / 421.6 MB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-05/0.07982, allocations: 39.98 kB / 421.7 MB, free: 6.957 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (115): * Single equations (assignments): 115 * 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.0002012/0.08002, allocations: 228.1 kB / 421.9 MB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.08013, allocations: 83.58 kB / 422 MB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007828/0.08092, allocations: 0.527 MB / 422.5 MB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.08092, allocations: 7.938 kB / 422.5 MB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.08092, allocations: 0 / 422.5 MB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.08093, allocations: 3.984 kB / 422.5 MB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000719/0.08165, allocations: 0.579 MB / 423.1 MB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.08166, allocations: 0 / 423.1 MB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005118/0.08217, allocations: 179.9 kB / 423.3 MB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.08217, allocations: 4 kB / 423.3 MB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.08221, allocations: 16 kB / 423.3 MB, free: 5.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.08221, allocations: 4 kB / 423.3 MB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.08222, allocations: 4 kB / 423.3 MB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008083/0.08302, allocations: 0.7338 MB / 424 MB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.0832, allocations: 107.5 kB / 424.1 MB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.763e-05/0.08327, allocations: 16 kB / 424.1 MB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.08346, allocations: 15.98 kB / 424.2 MB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/0.08355, allocations: 52.52 kB / 424.2 MB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.08359, allocations: 23.98 kB / 424.2 MB, free: 4.266 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002164/0.0838, allocations: 314.6 kB / 424.5 MB, free: 3.961 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0838, allocations: 0 / 424.5 MB, free: 3.961 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001264/0.08507, allocations: 478.7 kB / 425 MB, free: 3.492 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (solution.temperature,A.logn,B.logn,C.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 (71): * Single equations (assignments): 71 * 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.0009584/0.08602, allocations: 0.6574 MB / 425.7 MB, free: 2.824 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005895/0.08661, allocations: 424.9 kB / 426.1 MB, free: 2.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.08662, allocations: 0 / 426.1 MB, free: 2.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.08686, allocations: 204.5 kB / 426.3 MB, free: 2.203 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006599/0.08752, allocations: 165.8 kB / 426.4 MB, free: 2.047 MB / 394.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.08981, allocations: 1.392 MB / 427.8 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.08994, allocations: 163.3 kB / 428 MB, free: 428 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004426/0.09038, allocations: 165.2 kB / 428.2 MB, free: 260 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004181/0.0908, allocations: 270.1 kB / 428.4 MB, free: 15.98 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.0908, allocations: 0 / 428.4 MB, free: 15.98 MB / 410.7 MB Notification: Performance of Templates: time 0.1908/0.2816, allocations: 16.63 MB / 445.1 MB, free: 106.7 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4731825958006084]