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.001273/0.001273, allocations: 92.22 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.001582/0.001582, 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.97/0.97, 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.09707/0.09707, 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.974e-06/1.974e-06, allocations: 0 / 353.5 MB, free: 9.875 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.023e-05/3.22e-05, allocations: 10.25 kB / 353.5 MB, free: 9.863 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.04262/0.04265, allocations: 28.02 MB / 381.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0278/0.07045, allocations: 8.069 MB / 389.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006707/0.07716, allocations: 15.88 kB / 389.6 MB, free: 5.867 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006231/0.07778, allocations: 182.5 kB / 389.8 MB, free: 5.688 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008049/0.08583, allocations: 0.7211 MB / 390.5 MB, free: 4.961 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.0883, allocations: 1.076 MB / 391.6 MB, free: 3.879 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003911/0.09221, allocations: 0.9662 MB / 392.6 MB, free: 2.906 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006819/0.09289, allocations: 442.6 kB / 393 MB, free: 2.473 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006654/0.09356, allocations: 0.6356 MB / 393.7 MB, free: 1.836 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006142/0.09417, allocations: 423 kB / 394.1 MB, free: 1.422 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.09429, allocations: 80 kB / 394.1 MB, free: 1.344 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/0.09625, allocations: 0.8226 MB / 395 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.09644, allocations: 199.3 kB / 395.2 MB, free: 332 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002882/0.09672, allocations: 303.4 kB / 395.5 MB, free: 28 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002909/0.09963, allocations: 1.63 MB / 397.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.09964, allocations: 0 / 397.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.09964, allocations: 0 / 397.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.09966, allocations: 0 / 397.1 MB, free: 14.39 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.001729/0.1014, allocations: 1.216 MB / 398.3 MB, free: 13.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.1014, allocations: 12.03 kB / 398.3 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006033/0.102, allocations: 255.5 kB / 398.6 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006293/0.1027, allocations: 431.9 kB / 399 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.582e-05/0.1028, allocations: 106 kB / 399.1 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.217e-05/0.1029, allocations: 72.33 kB / 399.2 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007791/0.1036, allocations: 0.6348 MB / 399.8 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1036, allocations: 192 / 399.8 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/0.1037, allocations: 36.12 kB / 399.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.1037, allocations: 16 kB / 399.8 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007271/0.1044, allocations: 0.5775 MB / 400.4 MB, free: 10.95 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.00231/0.1067, allocations: 2.012 MB / 402.4 MB, free: 8.871 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009144/0.1077, allocations: 0.8059 MB / 403.2 MB, free: 8.051 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.1079, allocations: 189.6 kB / 403.4 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001801/0.1097, allocations: 1.551 MB / 405 MB, free: 6.289 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.1097, allocations: 41.39 kB / 405 MB, free: 6.238 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 2.354e-06/0.1097, allocations: 0 / 405 MB, free: 6.238 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.001441/0.1111, allocations: 0.9792 MB / 406 MB, free: 5.219 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.1112, allocations: 55.41 kB / 406.1 MB, free: 5.152 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.1115, allocations: 446.4 kB / 406.5 MB, free: 4.699 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.1115, allocations: 33.7 kB / 406.5 MB, free: 4.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.1117, allocations: 430.8 kB / 406.9 MB, free: 4.234 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.6e-05/0.1118, allocations: 170.6 kB / 407.1 MB, free: 4.066 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.112, allocations: 136.2 kB / 407.2 MB, free: 3.922 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1121, allocations: 0.5274 MB / 407.8 MB, free: 3.383 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.1123, allocations: 97.94 kB / 407.9 MB, free: 3.289 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.1126, allocations: 427.4 kB / 408.3 MB, free: 2.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005013/0.1131, allocations: 0.5669 MB / 408.8 MB, free: 2.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1131, allocations: 4 kB / 408.9 MB, free: 2.016 MB / 330.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006341/0.1137, allocations: 0.5326 MB / 409.4 MB, free: 1.473 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.1137, allocations: 12 kB / 409.4 MB, free: 1.461 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.1137, allocations: 16.06 kB / 409.4 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.1138, allocations: 8 kB / 409.4 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.1142, allocations: 199.7 kB / 409.6 MB, free: 1.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/0.1142, allocations: 15.94 kB / 409.6 MB, free: 1.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.1143, allocations: 27.94 kB / 409.7 MB, free: 1.199 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-05/0.1144, allocations: 35.98 kB / 409.7 MB, free: 1.164 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.0001666/0.1146, allocations: 208.3 kB / 409.9 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.1146, allocations: 63.67 kB / 410 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006049/0.1152, allocations: 422.7 kB / 410.4 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1152, allocations: 4 kB / 410.4 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1152, allocations: 0 / 410.4 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1152, allocations: 3.938 kB / 410.4 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1517/0.2669, allocations: 473.3 kB / 410.8 MB, free: 51.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.2669, allocations: 1.5 kB / 410.8 MB, free: 51.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.2675, allocations: 146.4 kB / 411 MB, free: 51.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.2675, allocations: 3.469 kB / 411 MB, free: 51.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.2675, allocations: 15.33 kB / 411 MB, free: 51.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.2675, allocations: 4.297 kB / 411 MB, free: 51.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2675, allocations: 1.125 kB / 411 MB, free: 51.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007752/0.2683, allocations: 0.6299 MB / 411.6 MB, free: 51.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.2685, allocations: 82.62 kB / 411.7 MB, free: 51.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.2685, allocations: 12.34 kB / 411.7 MB, free: 51.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.2686, allocations: 10.62 kB / 411.7 MB, free: 51.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.453e-05/0.2687, allocations: 46.7 kB / 411.8 MB, free: 51.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.2687, allocations: 17.88 kB / 411.8 MB, free: 51.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001915/0.2689, allocations: 277.3 kB / 412.1 MB, free: 50.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2689, allocations: 0.625 kB / 412.1 MB, free: 50.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007385/0.2696, allocations: 335.5 kB / 412.4 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.000596/0.2702, allocations: 456.4 kB / 412.8 MB, free: 50.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005315/0.2708, allocations: 348.2 kB / 413.2 MB, free: 50.87 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2708, allocations: 0 / 413.2 MB, free: 50.87 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.271, allocations: 168 kB / 413.4 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.0004793/0.2714, allocations: 133.7 kB / 413.5 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.001747/0.2732, allocations: 1.119 MB / 414.6 MB, free: 50.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.386e-05/0.2733, allocations: 140.9 kB / 414.7 MB, free: 50.24 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002571/0.2735, allocations: 119 kB / 414.9 MB, free: 50.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.2736, allocations: 75.41 kB / 414.9 MB, free: 50.22 MB / 330.7 MB Notification: Performance of SimCode: time 1.433e-06/0.2736, allocations: 0 / 414.9 MB, free: 50.22 MB / 330.7 MB Notification: Performance of Templates: time 0.01391/0.2876, allocations: 11.46 MB / 426.4 MB, free: 47.52 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.4490731270052493]