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.001291/0.001291, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009372/0.0009372, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9183/0.9183, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.08766/0.08766, allocations: 17.47 MB / 277.7 MB, free: 11.44 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.603e-06/1.603e-06, allocations: 0.7031 kB / 300.8 MB, free: 1.738 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08e-05/1.24e-05, allocations: 7.734 kB / 300.8 MB, free: 1.73 MB / 266.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.02846/0.02847, allocations: 33.11 MB / 333.9 MB, free: 3.242 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007253/0.03572, allocations: 9.146 MB / 343 MB, free: 10.06 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.03594, allocations: 15.81 kB / 343 MB, free: 10.04 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004487/0.03639, allocations: 206.4 kB / 343.2 MB, free: 9.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006269/0.03702, allocations: 384.9 kB / 343.6 MB, free: 9.461 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002297/0.03932, allocations: 1.47 MB / 345.1 MB, free: 7.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006949/0.04001, allocations: 0.6967 MB / 345.8 MB, free: 7.281 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/0.04024, allocations: 201.8 kB / 346 MB, free: 7.078 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.04053, allocations: 427.2 kB / 346.4 MB, free: 6.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.04083, allocations: 287.3 kB / 346.7 MB, free: 6.379 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.763e-05/0.04088, allocations: 36 kB / 346.7 MB, free: 6.344 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.04206, allocations: 0.8186 MB / 347.5 MB, free: 5.523 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.371e-05/0.04216, allocations: 123.6 kB / 347.7 MB, free: 5.402 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.04228, allocations: 175.6 kB / 347.8 MB, free: 5.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.04351, allocations: 1.482 MB / 349.3 MB, free: 3.742 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.04351, allocations: 0 / 349.3 MB, free: 3.742 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.04351, allocations: 0 / 349.3 MB, free: 3.742 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.04352, allocations: 0 / 349.3 MB, free: 3.742 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.0007655/0.04428, allocations: 0.8521 MB / 350.2 MB, free: 2.863 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.04431, allocations: 8.031 kB / 350.2 MB, free: 2.855 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004997/0.04481, allocations: 251.6 kB / 350.4 MB, free: 2.609 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006623/0.04547, allocations: 363.7 kB / 350.8 MB, free: 2.227 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.04549, allocations: 21.03 kB / 350.8 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.04553, allocations: 36.36 kB / 350.8 MB, free: 2.172 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003891/0.04592, allocations: 422.1 kB / 351.2 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.04593, allocations: 3.938 kB / 351.2 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.04596, allocations: 12 kB / 351.3 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.04597, allocations: 8 kB / 351.3 MB, free: 1.699 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.04642, allocations: 477.5 kB / 351.7 MB, free: 1.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.04765, allocations: 1.518 MB / 353.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.04783, allocations: 157.2 kB / 353.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.864e-05/0.04791, allocations: 61.42 kB / 353.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/0.04933, allocations: 1.266 MB / 354.7 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.04935, allocations: 30.56 kB / 354.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.112e-06/0.04935, allocations: 0 / 354.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.000228/0.04958, allocations: 176 kB / 354.9 MB, free: 13.94 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.0496, allocations: 55.41 kB / 355 MB, free: 13.87 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.04982, allocations: 403.1 kB / 355.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.04984, allocations: 33.7 kB / 355.4 MB, free: 13.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.04995, allocations: 268.7 kB / 355.7 MB, free: 13.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.04998, allocations: 63.47 kB / 355.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-05/0.05006, allocations: 98.05 kB / 355.8 MB, free: 13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.854e-05/0.05015, allocations: 358.7 kB / 356.2 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.075e-05/0.0502, allocations: 39.8 kB / 356.2 MB, free: 12.6 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.05036, allocations: 313.8 kB / 356.5 MB, free: 12.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.05064, allocations: 419.1 kB / 356.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.05064, allocations: 4 kB / 356.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003167/0.05096, allocations: 324.5 kB / 357.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.05098, allocations: 8 kB / 357.3 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.05099, allocations: 12.12 kB / 357.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.051, allocations: 12 kB / 357.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.05119, allocations: 123.8 kB / 357.4 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.0512, allocations: 15.94 kB / 357.4 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.05134, allocations: 55.62 kB / 357.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.05137, allocations: 31.98 kB / 357.5 MB, free: 11.03 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.0003525/0.05173, allocations: 144.5 kB / 357.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.05177, allocations: 31.89 kB / 357.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000386/0.05216, allocations: 358.2 kB / 358 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.05216, allocations: 4 kB / 358 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.05216, allocations: 0 / 358 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.05216, allocations: 0 / 358 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.0525, allocations: 0.5114 MB / 358.5 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.0525, allocations: 0 / 358.5 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.05253, allocations: 15.98 kB / 358.6 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.05254, allocations: 0 / 358.6 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.05254, allocations: 7.938 kB / 358.6 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.05254, allocations: 4.188 kB / 358.6 MB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.05254, allocations: 0 / 358.6 MB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.05265, allocations: 149.1 kB / 358.7 MB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.05269, allocations: 39.72 kB / 358.8 MB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.05272, allocations: 7.984 kB / 358.8 MB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.228e-05/0.05277, allocations: 4 kB / 358.8 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.05279, allocations: 3.938 kB / 358.8 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.05279, allocations: 4 kB / 358.8 MB, free: 9.609 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.05293, allocations: 204.4 kB / 359 MB, free: 9.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05293, allocations: 0 / 359 MB, free: 9.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003847/0.05331, allocations: 263 kB / 359.2 MB, free: 9.152 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.0004326/0.05374, allocations: 419.1 kB / 359.6 MB, free: 8.734 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.05392, allocations: 159.9 kB / 359.8 MB, free: 8.578 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/0.05393, allocations: 12.56 kB / 359.8 MB, free: 8.566 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.081e-05/0.05395, allocations: 24.77 kB / 359.8 MB, free: 8.539 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.05423, allocations: 113.7 kB / 359.9 MB, free: 8.434 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009663/0.05519, allocations: 0.6806 MB / 360.6 MB, free: 7.699 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.276e-05/0.05525, allocations: 101.3 kB / 360.7 MB, free: 7.582 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002101/0.05546, allocations: 115.1 kB / 360.8 MB, free: 7.469 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.05563, allocations: 143.3 kB / 361 MB, free: 7.328 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.05563, allocations: 0 / 361 MB, free: 7.328 MB / 330.7 MB Notification: Performance of Templates: time 0.01048/0.06611, allocations: 9.655 MB / 370.6 MB, free: 13.73 MB / 346.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7403249982744455]