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.0006944/0.0006944, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001418/0.002112, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.00105/0.00105, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001335/0.002386, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8795/0.8795, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08858/0.9681, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.0822/0.0822, allocations: 17.44 MB / 261.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01157/0.09377, allocations: 6.978 MB / 268.6 MB, free: 6.289 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.192e-06/1.192e-06, allocations: 0 / 269.9 MB, free: 4.992 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075e-05/1.194e-05, allocations: 2.312 kB / 269.9 MB, free: 4.988 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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.009716/0.009728, allocations: 3.653 MB / 273.5 MB, free: 1.309 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1251/0.1349, allocations: 9.22 MB / 282.7 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002765/0.1351, allocations: 13.28 kB / 282.7 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004498/0.1356, allocations: 213.2 kB / 283 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000684/0.1363, allocations: 374.3 kB / 283.3 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002726/0.139, allocations: 1.471 MB / 284.8 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007533/0.1397, allocations: 0.6945 MB / 285.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002883/0.14, allocations: 202.7 kB / 285.7 MB, free: 13.24 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004549/0.1405, allocations: 494.3 kB / 286.2 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003913/0.1409, allocations: 292.9 kB / 286.5 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.092e-05/0.141, allocations: 36.03 kB / 286.5 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.1423, allocations: 0.8074 MB / 287.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.1424, allocations: 87.97 kB / 287.4 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.1426, allocations: 138.1 kB / 287.5 MB, free: 12.78 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.144, allocations: 1.346 MB / 288.9 MB, free: 12.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.259e-05/0.144, allocations: 0 / 288.9 MB, free: 12.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.144, allocations: 0 / 288.9 MB, free: 12.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.144, allocations: 4 kB / 288.9 MB, free: 12.27 MB / 282.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.001207/0.1452, allocations: 1.061 MB / 289.9 MB, free: 11.67 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.1453, allocations: 10.59 kB / 289.9 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005853/0.1458, allocations: 321.2 kB / 290.3 MB, free: 11.49 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.1463, allocations: 366.8 kB / 290.6 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.1463, allocations: 27.56 kB / 290.6 MB, free: 11.24 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.1463, allocations: 27.16 kB / 290.7 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.1467, allocations: 426.3 kB / 291.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1467, allocations: 3.312 kB / 291.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.1467, allocations: 22.97 kB / 291.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1468, allocations: 6.531 kB / 291.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003941/0.1471, allocations: 479.1 kB / 291.6 MB, free: 10.97 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.1483, allocations: 1.51 MB / 293.1 MB, free: 9.938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.1485, allocations: 155.1 kB / 293.2 MB, free: 9.855 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.852e-05/0.1486, allocations: 60.64 kB / 293.3 MB, free: 9.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001404/0.15, allocations: 1.214 MB / 294.5 MB, free: 9.344 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.15, allocations: 33.23 kB / 294.5 MB, free: 9.305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.15, allocations: 0 / 294.5 MB, free: 9.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002367/0.1502, allocations: 169.3 kB / 294.7 MB, free: 9.227 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.1503, allocations: 58.45 kB / 294.8 MB, free: 9.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.1505, allocations: 418.2 kB / 295.2 MB, free: 8.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1505, allocations: 25.7 kB / 295.2 MB, free: 8.809 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.1506, allocations: 264.7 kB / 295.5 MB, free: 8.547 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.1507, allocations: 59.47 kB / 295.5 MB, free: 8.488 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-05/0.1508, allocations: 94.11 kB / 295.6 MB, free: 8.391 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.1509, allocations: 366.7 kB / 296 MB, free: 8.023 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.488e-05/0.1509, allocations: 43.75 kB / 296 MB, free: 7.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.1511, allocations: 307 kB / 296.3 MB, free: 7.547 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.1514, allocations: 431.1 kB / 296.7 MB, free: 6.992 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1514, allocations: 4 kB / 296.7 MB, free: 6.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000307/0.1517, allocations: 329.1 kB / 297.1 MB, free: 6.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1517, allocations: 8 kB / 297.1 MB, free: 6.652 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1517, allocations: 8 kB / 297.1 MB, free: 6.645 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1517, allocations: 12 kB / 297.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.1519, allocations: 147.8 kB / 297.2 MB, free: 6.488 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.1519, allocations: 20.48 kB / 297.2 MB, free: 6.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.1521, allocations: 51.62 kB / 297.3 MB, free: 6.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.1521, allocations: 32 kB / 297.3 MB, free: 6.387 MB / 282.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 9.132e-05/0.1522, allocations: 140.5 kB / 297.5 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.1522, allocations: 35.91 kB / 297.5 MB, free: 6.203 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003881/0.1526, allocations: 347 kB / 297.8 MB, free: 5.824 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1526, allocations: 5.594 kB / 297.8 MB, free: 5.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.1526, allocations: 0 / 297.8 MB, free: 5.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1526, allocations: 0 / 297.8 MB, free: 5.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/0.153, allocations: 0.5151 MB / 298.4 MB, free: 5.254 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.153, allocations: 4 kB / 298.4 MB, free: 5.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.52e-05/0.153, allocations: 15.98 kB / 298.4 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.1531, allocations: 34.39 kB / 298.4 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.1531, allocations: 4 kB / 298.4 MB, free: 5.199 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.1531, allocations: 0 / 298.4 MB, free: 5.199 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1531, allocations: 4 kB / 298.4 MB, free: 5.195 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1531, allocations: 3.938 kB / 298.4 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.1532, allocations: 153.1 kB / 298.6 MB, free: 5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.1532, allocations: 16.05 kB / 298.6 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.049e-05/0.1533, allocations: 0 / 298.6 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.1533, allocations: 15.88 kB / 298.6 MB, free: 4.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.1533, allocations: 4 kB / 298.6 MB, free: 4.965 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001302/0.1534, allocations: 200.4 kB / 298.8 MB, free: 4.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1534, allocations: 0 / 298.8 MB, free: 4.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004678/0.1539, allocations: 259 kB / 299.1 MB, free: 4.516 MB / 282.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.0004943/0.1544, allocations: 413.2 kB / 299.5 MB, free: 4.109 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.1546, allocations: 179.2 kB / 299.6 MB, free: 3.938 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/0.1546, allocations: 8.5 kB / 299.6 MB, free: 3.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.861e-05/0.1546, allocations: 29.7 kB / 299.7 MB, free: 3.898 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005181/0.1551, allocations: 0.8869 MB / 300.6 MB, free: 2.863 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004033/0.1592, allocations: 0.692 MB / 301.3 MB, free: 2.121 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.404e-05/0.1592, allocations: 97.3 kB / 301.4 MB, free: 2.004 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002094/0.1594, allocations: 107.3 kB / 301.5 MB, free: 1.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.1596, allocations: 147.3 kB / 301.6 MB, free: 1.766 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1596, allocations: 0 / 301.6 MB, free: 1.766 MB / 282.7 MB Notification: Performance of Templates: time 0.009984/0.1696, allocations: 9.619 MB / 311.2 MB, free: 8.293 MB / 298.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: 2.4942416790872812]