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.00181/0.00181, allocations: 88.72 kB / 19.44 MB, free: 356 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.002124/0.002124, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.499/1.499, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.1505/0.1505, allocations: 17.37 MB / 276.9 MB, free: 11.7 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.523e-06/1.523e-06, allocations: 0 / 352.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.857e-05, allocations: 5.266 kB / 352.7 MB, free: 10.36 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.03922/0.03925, allocations: 25.29 MB / 378 MB, free: 1.188 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.05103, allocations: 7.067 MB / 385.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006268/0.05165, allocations: 11.88 kB / 385.1 MB, free: 10.08 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007598/0.05241, allocations: 170.6 kB / 385.2 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.05469, allocations: 0.7211 MB / 386 MB, free: 9.184 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.05783, allocations: 1.083 MB / 387 MB, free: 8.094 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001691/0.05952, allocations: 0.9701 MB / 388 MB, free: 7.117 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008831/0.0604, allocations: 438.7 kB / 388.4 MB, free: 6.688 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.06153, allocations: 0.6317 MB / 389.1 MB, free: 6.055 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009621/0.06249, allocations: 403 kB / 389.5 MB, free: 5.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002084/0.0627, allocations: 80 kB / 389.5 MB, free: 5.582 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002491/0.06519, allocations: 0.8264 MB / 390.4 MB, free: 4.754 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003113/0.0655, allocations: 199.4 kB / 390.6 MB, free: 4.559 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005086/0.06601, allocations: 299.3 kB / 390.9 MB, free: 4.266 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003986/0.07, allocations: 1.915 MB / 392.8 MB, free: 2.344 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.07, allocations: 4 kB / 392.8 MB, free: 2.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.07, allocations: 3.938 kB / 392.8 MB, free: 2.336 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.872e-05/0.07005, allocations: 0 / 392.8 MB, free: 2.336 MB / 314.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.002534/0.07259, allocations: 1.104 MB / 393.9 MB, free: 1.195 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.07263, allocations: 12.02 kB / 393.9 MB, free: 1.184 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009026/0.07353, allocations: 251.6 kB / 394.1 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008653/0.0744, allocations: 433 kB / 394.6 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.07453, allocations: 106 kB / 394.7 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.07468, allocations: 76.31 kB / 394.7 MB, free: 312 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.07623, allocations: 0.7742 MB / 395.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.07625, allocations: 192 / 395.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.457e-05/0.07633, allocations: 32.12 kB / 395.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.07636, allocations: 20 kB / 395.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.07801, allocations: 0.8718 MB / 396.4 MB, free: 14.59 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.0043/0.08231, allocations: 1.996 MB / 398.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.08409, allocations: 0.8053 MB / 399.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005627/0.08466, allocations: 287.2 kB / 399.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003823/0.08848, allocations: 1.551 MB / 401.1 MB, free: 9.859 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.08852, allocations: 42.56 kB / 401.1 MB, free: 9.809 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 1.953e-06/0.08852, allocations: 0 / 401.1 MB, free: 9.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.002875/0.0914, allocations: 1.178 MB / 402.3 MB, free: 8.594 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.09145, allocations: 59.41 kB / 402.3 MB, free: 8.523 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005505/0.092, allocations: 401.6 kB / 402.7 MB, free: 8.125 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/0.09205, allocations: 37.7 kB / 402.8 MB, free: 8.082 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/0.09238, allocations: 372.1 kB / 403.1 MB, free: 7.711 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.09256, allocations: 178.6 kB / 403.3 MB, free: 7.535 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.09277, allocations: 126.6 kB / 403.4 MB, free: 7.402 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002274/0.09299, allocations: 354.8 kB / 403.8 MB, free: 7.047 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003168/0.09331, allocations: 153.9 kB / 403.9 MB, free: 6.898 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005624/0.09387, allocations: 392.5 kB / 404.3 MB, free: 6.414 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009648/0.09484, allocations: 0.5718 MB / 404.9 MB, free: 5.738 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.09485, allocations: 4 kB / 404.9 MB, free: 5.734 MB / 330.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001239/0.09609, allocations: 0.6488 MB / 405.5 MB, free: 5.074 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.09611, allocations: 10.09 kB / 405.5 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.09613, allocations: 8 kB / 405.6 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.693e-05/0.09616, allocations: 16 kB / 405.6 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00084/0.097, allocations: 203.7 kB / 405.8 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-05/0.09703, allocations: 12 kB / 405.8 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.0974, allocations: 19.94 kB / 405.8 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.521e-05/0.09749, allocations: 39.98 kB / 405.8 MB, free: 4.773 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.0003612/0.09785, allocations: 205.5 kB / 406 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.09799, allocations: 59.72 kB / 406.1 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.0991, allocations: 0.5026 MB / 406.6 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.09911, allocations: 8 kB / 406.6 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.09912, allocations: 0 / 406.6 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.09912, allocations: 3.938 kB / 406.6 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008538/0.09998, allocations: 482.6 kB / 407.1 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.09999, allocations: 4 kB / 407.1 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/0.1006, allocations: 143.9 kB / 407.2 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.898e-06/0.1006, allocations: 4 kB / 407.2 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/0.1007, allocations: 16 kB / 407.3 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.1007, allocations: 4 kB / 407.3 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/0.1007, allocations: 0 / 407.3 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.102, allocations: 0.7439 MB / 408 MB, free: 2.523 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.1022, allocations: 79.67 kB / 408.1 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.532e-05/0.1023, allocations: 16 kB / 408.1 MB, free: 2.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.1025, allocations: 15.98 kB / 408.1 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.1026, allocations: 44.38 kB / 408.2 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/0.1026, allocations: 16 kB / 408.2 MB, free: 2.355 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003361/0.103, allocations: 255.2 kB / 408.4 MB, free: 2.109 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.103, allocations: 0 / 408.4 MB, free: 2.109 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001098/0.1041, allocations: 335.1 kB / 408.7 MB, free: 1.781 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.001149/0.1052, allocations: 469.8 kB / 409.2 MB, free: 1.312 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008702/0.1061, allocations: 414.1 kB / 409.6 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1061, allocations: 1.938 kB / 409.6 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.1064, allocations: 186.8 kB / 409.8 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007929/0.1072, allocations: 143.7 kB / 409.9 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1325/0.2397, allocations: 1.13 MB / 411.1 MB, free: 62.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.2401, allocations: 294.2 kB / 411.3 MB, free: 62.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004984/0.2406, allocations: 114.9 kB / 411.5 MB, free: 62.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.2408, allocations: 72.77 kB / 411.5 MB, free: 62.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.423e-06/0.2408, allocations: 2.656 kB / 411.5 MB, free: 62.25 MB / 330.7 MB Notification: Performance of Templates: time 0.01715/0.2579, allocations: 10.17 MB / 421.7 MB, free: 59.77 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.160804626066238]