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.002482/0.002482, allocations: 93.47 kB / 19.44 MB, free: 336 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.003561/0.003561, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.594/1.594, allocations: 177.1 MB / 203.1 MB, free: 5.566 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.1467/0.1467, allocations: 17.46 MB / 277 MB, free: 11.62 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 2.044e-06/2.044e-06, allocations: 0 / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.202e-05/3.406e-05, allocations: 5.266 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.04214/0.04218, allocations: 24.92 MB / 377.7 MB, free: 1.426 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0138/0.05598, allocations: 9.2 MB / 386.9 MB, free: 8.188 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005149/0.05649, allocations: 15.88 kB / 387 MB, free: 8.172 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007861/0.05728, allocations: 206.5 kB / 387.2 MB, free: 7.969 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.05846, allocations: 372.9 kB / 387.5 MB, free: 7.602 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004109/0.06257, allocations: 1.486 MB / 389 MB, free: 6.105 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00122/0.06379, allocations: 0.6967 MB / 389.7 MB, free: 5.406 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003976/0.06418, allocations: 201.7 kB / 389.9 MB, free: 5.203 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005465/0.06473, allocations: 419.3 kB / 390.3 MB, free: 4.793 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005799/0.06531, allocations: 303.3 kB / 390.6 MB, free: 4.496 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.06542, allocations: 36 kB / 390.6 MB, free: 4.461 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.06752, allocations: 0.7874 MB / 391.4 MB, free: 3.672 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.06771, allocations: 119.6 kB / 391.5 MB, free: 3.555 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002909/0.068, allocations: 183.5 kB / 391.7 MB, free: 3.375 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003158/0.07116, allocations: 1.615 MB / 393.3 MB, free: 1.754 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.07116, allocations: 0 / 393.3 MB, free: 1.754 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.07116, allocations: 3.938 kB / 393.3 MB, free: 1.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.07117, allocations: 0 / 393.3 MB, free: 1.75 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.001721/0.07289, allocations: 1.008 MB / 394.4 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.07294, allocations: 8.031 kB / 394.4 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009719/0.07391, allocations: 255.4 kB / 394.6 MB, free: 452 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008173/0.07473, allocations: 410.5 kB / 395 MB, free: 12 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.683e-05/0.07478, allocations: 25.11 kB / 395 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-05/0.07487, allocations: 28.38 kB / 395.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009725/0.07584, allocations: 0.5477 MB / 395.6 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.07586, allocations: 11.88 kB / 395.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.127e-05/0.07591, allocations: 11.94 kB / 395.6 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.07593, allocations: 12 kB / 395.6 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.07733, allocations: 0.7754 MB / 396.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003292/0.08062, allocations: 2.205 MB / 398.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004797/0.0811, allocations: 191 kB / 398.8 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.08136, allocations: 115.6 kB / 398.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003284/0.08464, allocations: 1.416 MB / 400.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.08467, allocations: 33.39 kB / 400.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.673e-06/0.08467, allocations: 0 / 400.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006864/0.08536, allocations: 273.2 kB / 400.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.08541, allocations: 51.41 kB / 400.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006984/0.08611, allocations: 0.5688 MB / 401.3 MB, free: 9.559 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.08614, allocations: 29.7 kB / 401.3 MB, free: 9.523 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.08646, allocations: 366.6 kB / 401.6 MB, free: 9.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.979e-05/0.08654, allocations: 75.42 kB / 401.7 MB, free: 9.086 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.0867, allocations: 111.8 kB / 401.8 MB, free: 8.969 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003295/0.08703, allocations: 0.543 MB / 402.4 MB, free: 8.414 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.08721, allocations: 84.95 kB / 402.5 MB, free: 8.332 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/0.08775, allocations: 475.4 kB / 402.9 MB, free: 7.684 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008202/0.08857, allocations: 0.5956 MB / 403.5 MB, free: 6.906 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.08858, allocations: 7.938 kB / 403.5 MB, free: 6.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008878/0.08947, allocations: 497.3 kB / 404 MB, free: 6.406 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.08949, allocations: 15.06 kB / 404 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.08951, allocations: 8 kB / 404 MB, free: 6.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/0.08954, allocations: 12 kB / 404 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.08989, allocations: 111.8 kB / 404.2 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/0.08991, allocations: 15.94 kB / 404.2 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/0.09019, allocations: 59.61 kB / 404.2 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.349e-05/0.09026, allocations: 32 kB / 404.3 MB, free: 6.16 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.0002473/0.09051, allocations: 224.2 kB / 404.5 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.09061, allocations: 51.72 kB / 404.5 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008757/0.09148, allocations: 437.5 kB / 405 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.09149, allocations: 0 / 405 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.09149, allocations: 4 kB / 405 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.09149, allocations: 0 / 405 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.09251, allocations: 0.7444 MB / 405.7 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.09251, allocations: 0 / 405.7 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.102e-05/0.09259, allocations: 15.92 kB / 405.7 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.09259, allocations: 4 kB / 405.7 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.0926, allocations: 4.188 kB / 405.7 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.09261, allocations: 4 kB / 405.7 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.09261, allocations: 0 / 405.7 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.09292, allocations: 206.5 kB / 405.9 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.09303, allocations: 43.66 kB / 406 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/0.09309, allocations: 7.984 kB / 406 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.09321, allocations: 3.984 kB / 406 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.09324, allocations: 7.938 kB / 406 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.09325, allocations: 4 kB / 406 MB, free: 4.242 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005334/0.09379, allocations: 422.8 kB / 406.4 MB, free: 3.832 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09379, allocations: 4 kB / 406.4 MB, free: 3.828 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008358/0.09462, allocations: 267 kB / 406.7 MB, free: 3.566 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.0008762/0.0955, allocations: 409.9 kB / 407.1 MB, free: 3.156 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004803/0.09598, allocations: 234.9 kB / 407.3 MB, free: 2.926 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.09598, allocations: 3.938 kB / 407.3 MB, free: 2.922 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.801e-05/0.09605, allocations: 43.61 kB / 407.4 MB, free: 2.875 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005721/0.09662, allocations: 102.2 kB / 407.5 MB, free: 2.773 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.09781, allocations: 0.677 MB / 408.1 MB, free: 2.039 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.09803, allocations: 203.8 kB / 408.3 MB, free: 1.824 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003597/0.09839, allocations: 119.1 kB / 408.4 MB, free: 1.707 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.09851, allocations: 56.47 kB / 408.5 MB, free: 1.652 MB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/0.09851, allocations: 4 kB / 408.5 MB, free: 1.648 MB / 330.7 MB Notification: Performance of Templates: time 0.1549/0.2534, allocations: 8.271 MB / 416.8 MB, free: 61.61 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.151438425993547]