Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001147/0.001147, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001268/0.001268, allocations: 177 kB / 23.36 MB, free: 1.129 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.066/1.066, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.09777/0.09777, 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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 300.7 MB, free: 1.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.827e-05, allocations: 2.312 kB / 300.7 MB, free: 1.816 MB / 266.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.SimpleReaction2): time 0.04357/0.0436, allocations: 34.77 MB / 335.4 MB, free: 1.793 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01177/0.05536, allocations: 11.6 MB / 347 MB, free: 6.145 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008348/0.0562, allocations: 15.81 kB / 347 MB, free: 6.129 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006779/0.05688, allocations: 250 kB / 347.3 MB, free: 5.883 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002446/0.05932, allocations: 1.023 MB / 348.3 MB, free: 4.852 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003464/0.06278, allocations: 1.564 MB / 349.9 MB, free: 3.277 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001593/0.06438, allocations: 1.294 MB / 351.2 MB, free: 1.977 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000783/0.06516, allocations: 0.5966 MB / 351.8 MB, free: 1.352 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.06629, allocations: 0.8463 MB / 352.6 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008664/0.06716, allocations: 0.5612 MB / 353.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002119/0.06737, allocations: 108 kB / 353.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003366/0.07074, allocations: 1.283 MB / 354.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000301/0.07104, allocations: 271.1 kB / 354.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004978/0.07153, allocations: 411.1 kB / 355.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004452/0.07599, allocations: 2.342 MB / 357.6 MB, free: 11.53 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.07599, allocations: 3.938 kB / 357.6 MB, free: 11.53 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.07599, allocations: 0 / 357.6 MB, free: 11.53 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.061e-05/0.07602, allocations: 0 / 357.6 MB, free: 11.53 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002055/0.07808, allocations: 1.429 MB / 359 MB, free: 10.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.07812, allocations: 8.031 kB / 359 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007568/0.07888, allocations: 327.6 kB / 359.3 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.0799, allocations: 439.1 kB / 359.8 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.08002, allocations: 122 kB / 359.9 MB, free: 9.152 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.08014, allocations: 96.36 kB / 360 MB, free: 9.059 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009565/0.0811, allocations: 0.7756 MB / 360.7 MB, free: 8.262 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.08111, allocations: 192 / 360.7 MB, free: 8.262 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.778e-05/0.08117, allocations: 40.12 kB / 360.8 MB, free: 8.223 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.08119, allocations: 20 kB / 360.8 MB, free: 8.203 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007601/0.08195, allocations: 0.6448 MB / 361.4 MB, free: 7.555 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.002904/0.08485, allocations: 2.116 MB / 363.6 MB, free: 5.379 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.08611, allocations: 1.242 MB / 364.8 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.08632, allocations: 203.7 kB / 365 MB, free: 3.922 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002483/0.0888, allocations: 1.833 MB / 366.8 MB, free: 2.074 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.08905, allocations: 43.06 kB / 366.9 MB, free: 2.023 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 3.086e-06/0.08905, allocations: 0 / 366.9 MB, free: 2.023 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.001765/0.09081, allocations: 1.102 MB / 368 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.09086, allocations: 60 kB / 368 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.09117, allocations: 478.8 kB / 368.5 MB, free: 348 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.0912, allocations: 33.7 kB / 368.5 MB, free: 308 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.09141, allocations: 436.6 kB / 369 MB, free: 15.87 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.09158, allocations: 230 kB / 369.2 MB, free: 15.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.09172, allocations: 178.4 kB / 369.4 MB, free: 15.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.09184, allocations: 378.6 kB / 369.7 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.09195, allocations: 92.77 kB / 369.8 MB, free: 14.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.09226, allocations: 430.5 kB / 370.2 MB, free: 14.42 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004937/0.09276, allocations: 0.6177 MB / 370.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.09276, allocations: 4 kB / 370.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0005375/0.0933, allocations: 0.5356 MB / 371.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.09332, allocations: 12 kB / 371.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.09333, allocations: 8 kB / 371.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.09335, allocations: 16 kB / 371.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000662/0.09401, allocations: 287.6 kB / 371.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.09403, allocations: 23.92 kB / 371.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.09424, allocations: 31.97 kB / 371.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/0.09429, allocations: 43.94 kB / 371.8 MB, free: 12.69 MB / 346.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.0001658/0.09445, allocations: 176.3 kB / 372 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.888e-05/0.09452, allocations: 59.94 kB / 372 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005103/0.09503, allocations: 439.8 kB / 372.5 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.09504, allocations: 8 kB / 372.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.09504, allocations: 0 / 372.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.09505, allocations: 3.984 kB / 372.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000555/0.0956, allocations: 0.5162 MB / 373 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.09561, allocations: 0 / 373 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/0.09601, allocations: 195.9 kB / 373.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.09602, allocations: 4 kB / 373.2 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.09604, allocations: 16 kB / 373.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.09605, allocations: 11.92 kB / 373.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.09605, allocations: 4 kB / 373.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.09658, allocations: 0.5927 MB / 373.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.09671, allocations: 83.52 kB / 373.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.956e-05/0.09676, allocations: 19.98 kB / 373.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.09688, allocations: 12 kB / 373.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.041e-05/0.09695, allocations: 52.52 kB / 374 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.09698, allocations: 23.98 kB / 374 MB, free: 10.4 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001334/0.09711, allocations: 188.4 kB / 374.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09711, allocations: 0 / 374.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001008/0.09812, allocations: 494.5 kB / 374.7 MB, free: 9.734 MB / 346.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.001071/0.09919, allocations: 0.6313 MB / 375.3 MB, free: 9.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004559/0.09964, allocations: 410.2 kB / 375.7 MB, free: 8.688 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.68e-05/0.09966, allocations: 8.5 kB / 375.7 MB, free: 8.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.09981, allocations: 185.8 kB / 375.9 MB, free: 8.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.1003, allocations: 167.4 kB / 376.1 MB, free: 8.34 MB / 346.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.1022, allocations: 1.401 MB / 377.5 MB, free: 6.879 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.1023, allocations: 159.3 kB / 377.6 MB, free: 6.703 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003427/0.1027, allocations: 161.2 kB / 377.8 MB, free: 6.543 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.103, allocations: 237.2 kB / 378 MB, free: 6.312 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.103, allocations: 0 / 378 MB, free: 6.312 MB / 346.7 MB Notification: Performance of Templates: time 0.03358/0.1365, allocations: 16.46 MB / 394.5 MB, free: 5.973 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.23910307046026]