Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.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.002138/0.002138, allocations: 88.72 kB / 19.44 MB, free: 352 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.00252/0.00252, allocations: 157.7 kB / 22.75 MB, free: 1.676 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.509/1.509, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.1482/0.1482, allocations: 17.46 MB / 277 MB, free: 11.59 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.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.858e-05/3.047e-05, allocations: 5.125 kB / 352.8 MB, free: 10.2 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:12638:6-12638:65: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:12638:6-12638:65: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.CheckSubstancesData.SimpleReaction2): time 0.03797/0.038, allocations: 24.65 MB / 377.5 MB, free: 1.707 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01372/0.05172, allocations: 8.059 MB / 385.5 MB, free: 9.613 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005771/0.0523, allocations: 15.88 kB / 385.5 MB, free: 9.598 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008817/0.05318, allocations: 210.4 kB / 385.7 MB, free: 9.391 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.05463, allocations: 373 kB / 386.1 MB, free: 9.023 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004986/0.05962, allocations: 1.478 MB / 387.6 MB, free: 7.535 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00144/0.06106, allocations: 0.7007 MB / 388.3 MB, free: 6.832 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005519/0.06161, allocations: 201.7 kB / 388.5 MB, free: 6.629 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008361/0.06245, allocations: 419.2 kB / 388.9 MB, free: 6.219 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000707/0.06315, allocations: 303.3 kB / 389.2 MB, free: 5.922 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.06332, allocations: 32 kB / 389.2 MB, free: 5.891 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002836/0.06616, allocations: 0.7875 MB / 390 MB, free: 5.102 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002355/0.06639, allocations: 119.6 kB / 390.1 MB, free: 4.984 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000357/0.06675, allocations: 179.5 kB / 390.3 MB, free: 4.809 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003928/0.07068, allocations: 1.619 MB / 391.9 MB, free: 3.184 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.07068, allocations: 0 / 391.9 MB, free: 3.184 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.07068, allocations: 0 / 391.9 MB, free: 3.184 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.577e-05/0.07071, allocations: 0 / 391.9 MB, free: 3.184 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.00221/0.07292, allocations: 0.8851 MB / 392.8 MB, free: 2.262 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.07296, allocations: 8.031 kB / 392.8 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.0741, allocations: 251.3 kB / 393.1 MB, free: 2.008 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009133/0.07501, allocations: 415.6 kB / 393.5 MB, free: 1.574 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/0.07505, allocations: 21.03 kB / 393.5 MB, free: 1.555 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.088e-05/0.07514, allocations: 36.31 kB / 393.5 MB, free: 1.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.07619, allocations: 0.5267 MB / 394 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.0762, allocations: 3.938 kB / 394 MB, free: 0.957 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.998e-05/0.07626, allocations: 16 kB / 394.1 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.07628, allocations: 8 kB / 394.1 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.07767, allocations: 0.8027 MB / 394.9 MB, free: 132 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003151/0.08082, allocations: 1.724 MB / 396.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/0.0813, allocations: 194.5 kB / 396.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/0.08157, allocations: 124.8 kB / 396.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003457/0.08503, allocations: 1.346 MB / 398.3 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.08507, allocations: 30.56 kB / 398.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.08507, allocations: 0 / 398.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007442/0.08582, allocations: 296 kB / 398.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.08588, allocations: 55.41 kB / 398.6 MB, free: 12.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000607/0.08648, allocations: 453.8 kB / 399.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.08652, allocations: 25.7 kB / 399.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002976/0.08681, allocations: 299.8 kB / 399.4 MB, free: 11.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.725e-05/0.08689, allocations: 67.47 kB / 399.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.08704, allocations: 98.09 kB / 399.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000236/0.08728, allocations: 354.7 kB / 399.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.08748, allocations: 100.9 kB / 400 MB, free: 10.85 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004656/0.08795, allocations: 353.8 kB / 400.3 MB, free: 10.37 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007781/0.08872, allocations: 0.5003 MB / 400.8 MB, free: 9.738 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.08873, allocations: 3.938 kB / 400.8 MB, free: 9.734 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00099/0.08972, allocations: 0.4937 MB / 401.3 MB, free: 9.234 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.08975, allocations: 12.03 kB / 401.4 MB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.08977, allocations: 8 kB / 401.4 MB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.754e-05/0.0898, allocations: 16 kB / 401.4 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.09018, allocations: 111.8 kB / 401.5 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.611e-05/0.09021, allocations: 15.94 kB / 401.5 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/0.09054, allocations: 59.61 kB / 401.6 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.624e-05/0.09061, allocations: 32 kB / 401.6 MB, free: 8.984 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 50 * 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.0002678/0.09087, allocations: 185.5 kB / 401.8 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.09099, allocations: 43.72 kB / 401.8 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008593/0.09185, allocations: 399.5 kB / 402.2 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.09185, allocations: 3.984 kB / 402.2 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.09186, allocations: 0 / 402.2 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.09186, allocations: 0 / 402.2 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.0929, allocations: 0.6232 MB / 402.8 MB, free: 7.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.09291, allocations: 7.984 kB / 402.8 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.026e-05/0.09299, allocations: 8 kB / 402.8 MB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.093, allocations: 4 kB / 402.8 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.09301, allocations: 8.188 kB / 402.9 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.09302, allocations: 4 kB / 402.9 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.09302, allocations: 3.938 kB / 402.9 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.09334, allocations: 189 kB / 403 MB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.09345, allocations: 43.7 kB / 403.1 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.419e-05/0.09352, allocations: 7.938 kB / 403.1 MB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.09366, allocations: 4 kB / 403.1 MB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.0937, allocations: 19.86 kB / 403.1 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.09371, allocations: 8.125 kB / 403.1 MB, free: 7.301 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005259/0.09424, allocations: 362.8 kB / 403.5 MB, free: 6.949 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09424, allocations: 4 kB / 403.5 MB, free: 6.945 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009017/0.09514, allocations: 255.1 kB / 403.7 MB, free: 6.695 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (6): * Single equations (assignments): 6 * 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.001239/0.09638, allocations: 418.6 kB / 404.1 MB, free: 6.273 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004986/0.09688, allocations: 222 kB / 404.4 MB, free: 6.059 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.09688, allocations: 0 / 404.4 MB, free: 6.059 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.485e-05/0.09694, allocations: 31.92 kB / 404.4 MB, free: 6.027 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000616/0.09756, allocations: 106.8 kB / 404.5 MB, free: 5.922 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.09892, allocations: 0.6616 MB / 405.2 MB, free: 5.211 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.09918, allocations: 211.8 kB / 405.4 MB, free: 4.984 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004203/0.0996, allocations: 131 kB / 405.5 MB, free: 4.859 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.09973, allocations: 52.48 kB / 405.5 MB, free: 4.809 MB / 330.7 MB Notification: Performance of SimCode: time 8.51e-07/0.09974, allocations: 4 kB / 405.6 MB, free: 4.805 MB / 330.7 MB Notification: Performance of Templates: time 0.1518/0.2516, allocations: 8.276 MB / 413.8 MB, free: 62.27 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.004025909001939]