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.00097/0.00097, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001332/0.002302, allocations: 435.8 kB / 10.33 MB, free: 368 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.00103/0.00103, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00133/0.002361, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.007/1.007, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09266/1.1, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.1013/0.1013, allocations: 17.45 MB / 261.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0151/0.1164, allocations: 6.96 MB / 268.4 MB, free: 6.395 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.452e-06/1.452e-06, allocations: 0 / 269.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.442e-05, allocations: 2.312 kB / 269.7 MB, free: 5.117 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.01067/0.01068, allocations: 3.645 MB / 273.3 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1176/0.1283, allocations: 9.222 MB / 282.5 MB, free: 14.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.1285, allocations: 13.84 kB / 282.5 MB, free: 14.85 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004437/0.1289, allocations: 208 kB / 282.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006869/0.1296, allocations: 381.5 kB / 283.1 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002981/0.1326, allocations: 1.474 MB / 284.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007337/0.1333, allocations: 0.6931 MB / 285.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002867/0.1336, allocations: 202.8 kB / 285.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004497/0.1341, allocations: 490.2 kB / 286 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003748/0.1345, allocations: 288.2 kB / 286.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.935e-05/0.1345, allocations: 35.59 kB / 286.3 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.1359, allocations: 0.8199 MB / 287.1 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.136, allocations: 78.86 kB / 287.2 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.1361, allocations: 138.7 kB / 287.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.1376, allocations: 1.357 MB / 288.7 MB, free: 12.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.372e-05/0.1376, allocations: 0 / 288.7 MB, free: 12.38 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1376, allocations: 0 / 288.7 MB, free: 12.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.1376, allocations: 1.312 kB / 288.7 MB, free: 12.38 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.001168/0.1388, allocations: 1.055 MB / 289.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.1388, allocations: 8.906 kB / 289.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005286/0.1393, allocations: 325.7 kB / 290 MB, free: 11.6 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.1397, allocations: 364.4 kB / 290.4 MB, free: 11.37 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.1397, allocations: 21.91 kB / 290.4 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.1398, allocations: 30.69 kB / 290.5 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.1402, allocations: 424.4 kB / 290.9 MB, free: 11.19 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1402, allocations: 5.469 kB / 290.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.1402, allocations: 19 kB / 290.9 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1402, allocations: 8.312 kB / 290.9 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004186/0.1406, allocations: 480.1 kB / 291.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.1418, allocations: 1.508 MB / 292.9 MB, free: 10.06 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.142, allocations: 159.6 kB / 293 MB, free: 9.973 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.647e-05/0.1421, allocations: 59.19 kB / 293.1 MB, free: 9.957 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/0.1434, allocations: 1.206 MB / 294.3 MB, free: 9.469 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.1434, allocations: 32.64 kB / 294.3 MB, free: 9.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.1434, allocations: 0 / 294.3 MB, free: 9.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002364/0.1437, allocations: 177.8 kB / 294.5 MB, free: 9.344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.1437, allocations: 58.08 kB / 294.6 MB, free: 9.277 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.1439, allocations: 413 kB / 295 MB, free: 9.012 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.144, allocations: 25.7 kB / 295 MB, free: 8.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.1441, allocations: 268.7 kB / 295.2 MB, free: 8.715 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.1441, allocations: 63.47 kB / 295.3 MB, free: 8.652 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.849e-05/0.1442, allocations: 94.11 kB / 295.4 MB, free: 8.555 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.434e-05/0.1443, allocations: 354.7 kB / 295.7 MB, free: 8.199 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.068e-05/0.1443, allocations: 43.81 kB / 295.8 MB, free: 8.156 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.1445, allocations: 309.8 kB / 296.1 MB, free: 7.719 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.1447, allocations: 411.1 kB / 296.5 MB, free: 7.184 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.1447, allocations: 7.938 kB / 296.5 MB, free: 7.176 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005328/0.1453, allocations: 327.2 kB / 296.8 MB, free: 6.852 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1453, allocations: 8 kB / 296.8 MB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1453, allocations: 8 kB / 296.8 MB, free: 6.836 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1453, allocations: 19.94 kB / 296.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.1455, allocations: 139.8 kB / 297 MB, free: 6.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.1455, allocations: 15.94 kB / 297 MB, free: 6.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.1456, allocations: 51.62 kB / 297.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.1457, allocations: 31.98 kB / 297.1 MB, free: 6.582 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 8.771e-05/0.1458, allocations: 152.4 kB / 297.2 MB, free: 6.422 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.1458, allocations: 37.19 kB / 297.3 MB, free: 6.387 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003831/0.1462, allocations: 358.2 kB / 297.6 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1462, allocations: 0 / 297.6 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1462, allocations: 0 / 297.6 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1462, allocations: 0 / 297.6 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.1465, allocations: 0.5035 MB / 298.1 MB, free: 5.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1465, allocations: 0 / 298.1 MB, free: 5.445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.1465, allocations: 16.81 kB / 298.1 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.1466, allocations: 39.92 kB / 298.2 MB, free: 5.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1466, allocations: 4 kB / 298.2 MB, free: 5.387 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.1466, allocations: 4 kB / 298.2 MB, free: 5.383 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1466, allocations: 0 / 298.2 MB, free: 5.383 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1466, allocations: 4 kB / 298.2 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.737e-05/0.1467, allocations: 147.9 kB / 298.3 MB, free: 5.195 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.1467, allocations: 11.89 kB / 298.4 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.227e-05/0.1468, allocations: 8 kB / 298.4 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.1468, allocations: 7.922 kB / 298.4 MB, free: 5.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.1468, allocations: 4 kB / 298.4 MB, free: 5.164 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001281/0.1469, allocations: 204.4 kB / 298.6 MB, free: 4.965 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1469, allocations: 0 / 298.6 MB, free: 4.965 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004517/0.1474, allocations: 255.1 kB / 298.8 MB, free: 4.715 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.000451/0.1478, allocations: 426.5 kB / 299.2 MB, free: 4.297 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.148, allocations: 170.4 kB / 299.4 MB, free: 4.133 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/0.148, allocations: 8.5 kB / 299.4 MB, free: 4.125 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.978e-05/0.148, allocations: 20.78 kB / 299.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.1483, allocations: 146.2 kB / 299.6 MB, free: 3.969 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/0.1524, allocations: 0.693 MB / 300.3 MB, free: 3.227 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.521e-05/0.1525, allocations: 105.2 kB / 300.4 MB, free: 3.102 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002172/0.1527, allocations: 107.7 kB / 300.5 MB, free: 3.004 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.1529, allocations: 147.3 kB / 300.6 MB, free: 2.859 MB / 282.7 MB Notification: Performance of SimCode: time 7.62e-07/0.1529, allocations: 8 kB / 300.6 MB, free: 2.852 MB / 282.7 MB Notification: Performance of Templates: time 0.01031/0.1632, allocations: 9.81 MB / 310.4 MB, free: 9.184 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.85650456789881]