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.0009408/0.0009408, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009549/0.0009549, allocations: 165 kB / 23.02 MB, free: 1.551 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.009/1.009, allocations: 177.1 MB / 203.4 MB, free: 5.664 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.113/0.113, allocations: 17.46 MB / 277.4 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.714e-06/1.714e-06, allocations: 0 / 353.5 MB, free: 9.883 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.464e-05, allocations: 6.25 kB / 353.5 MB, free: 9.875 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.02641/0.02644, allocations: 27.24 MB / 380.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007911/0.03435, allocations: 9.267 MB / 390.1 MB, free: 5.469 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000284/0.03463, allocations: 11.88 kB / 390.1 MB, free: 5.457 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005087/0.03514, allocations: 202.4 kB / 390.3 MB, free: 5.258 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006851/0.03582, allocations: 373.1 kB / 390.6 MB, free: 4.891 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.03807, allocations: 1.502 MB / 392.1 MB, free: 3.379 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006788/0.03875, allocations: 0.6812 MB / 392.8 MB, free: 2.695 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.03902, allocations: 201.7 kB / 393 MB, free: 2.492 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.03934, allocations: 431.2 kB / 393.4 MB, free: 2.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.03966, allocations: 291.4 kB / 393.7 MB, free: 1.785 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.808e-05/0.03972, allocations: 36 kB / 393.8 MB, free: 1.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.04079, allocations: 0.7874 MB / 394.5 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.04091, allocations: 123.6 kB / 394.7 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.04105, allocations: 183.6 kB / 394.8 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.04247, allocations: 1.482 MB / 396.3 MB, free: 15.17 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.04248, allocations: 0 / 396.3 MB, free: 15.17 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.04248, allocations: 0 / 396.3 MB, free: 15.17 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.04249, allocations: 4 kB / 396.3 MB, free: 15.17 MB / 330.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.0009424/0.04343, allocations: 0.9769 MB / 397.3 MB, free: 14.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.04346, allocations: 8.031 kB / 397.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005131/0.04398, allocations: 259.3 kB / 397.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.0444, allocations: 406.5 kB / 398 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.04441, allocations: 28.97 kB / 398 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.04446, allocations: 28.38 kB / 398 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004873/0.04495, allocations: 476.8 kB / 398.5 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.04496, allocations: 3.938 kB / 398.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.04499, allocations: 12 kB / 398.5 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.045, allocations: 11.98 kB / 398.5 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006356/0.04564, allocations: 0.5775 MB / 399.1 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.04725, allocations: 2.072 MB / 401.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.0475, allocations: 135 kB / 401.3 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.04763, allocations: 75.64 kB / 401.4 MB, free: 9.922 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001512/0.04914, allocations: 1.362 MB / 402.7 MB, free: 8.539 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.04917, allocations: 41.33 kB / 402.8 MB, free: 8.488 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.04917, allocations: 0 / 402.8 MB, free: 8.488 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003914/0.04956, allocations: 196.1 kB / 403 MB, free: 8.293 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.04959, allocations: 51.41 kB / 403 MB, free: 8.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.04993, allocations: 498.4 kB / 403.5 MB, free: 7.727 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.04995, allocations: 33.7 kB / 403.5 MB, free: 7.688 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.05013, allocations: 354.6 kB / 403.9 MB, free: 7.336 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.05016, allocations: 59.48 kB / 403.9 MB, free: 7.277 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-05/0.05025, allocations: 107.8 kB / 404 MB, free: 7.164 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.05039, allocations: 0.5313 MB / 404.6 MB, free: 6.621 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.733e-05/0.05047, allocations: 40.97 kB / 404.6 MB, free: 6.582 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.05072, allocations: 443.4 kB / 405 MB, free: 5.965 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.0511, allocations: 0.5175 MB / 405.6 MB, free: 5.266 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.05111, allocations: 11.94 kB / 405.6 MB, free: 5.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004574/0.05157, allocations: 421.5 kB / 406 MB, free: 4.836 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.05159, allocations: 8 kB / 406 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.0516, allocations: 12.09 kB / 406 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.05162, allocations: 16 kB / 406 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.05181, allocations: 107.8 kB / 406.1 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.05183, allocations: 15.94 kB / 406.1 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.05197, allocations: 63.55 kB / 406.2 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.05201, allocations: 32 kB / 406.2 MB, free: 4.586 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.0001191/0.05212, allocations: 192.3 kB / 406.4 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.336e-05/0.05218, allocations: 51.72 kB / 406.5 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004705/0.05265, allocations: 393.5 kB / 406.9 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.05265, allocations: 4 kB / 406.9 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.05266, allocations: 0 / 406.9 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.05266, allocations: 0 / 406.9 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004844/0.05314, allocations: 0.6779 MB / 407.5 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.05315, allocations: 0 / 407.5 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.496e-05/0.05318, allocations: 11.94 kB / 407.5 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.05318, allocations: 4 kB / 407.6 MB, free: 3.133 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.05319, allocations: 8 kB / 407.6 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.0532, allocations: 192 / 407.6 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.0532, allocations: 4 kB / 407.6 MB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.05335, allocations: 186.5 kB / 407.7 MB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-05/0.0534, allocations: 39.72 kB / 407.8 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.05343, allocations: 11.92 kB / 407.8 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.766e-05/0.05349, allocations: 8 kB / 407.8 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.05351, allocations: 7.938 kB / 407.8 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.05351, allocations: 0 / 407.8 MB, free: 2.828 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002423/0.05376, allocations: 354.7 kB / 408.2 MB, free: 2.484 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05376, allocations: 0 / 408.2 MB, free: 2.484 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000458/0.05421, allocations: 263 kB / 408.4 MB, free: 2.227 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.0004896/0.0547, allocations: 414 kB / 408.8 MB, free: 1.812 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.05495, allocations: 185.4 kB / 409 MB, free: 1.629 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.05495, allocations: 0 / 409 MB, free: 1.629 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.612e-05/0.05498, allocations: 29.25 kB / 409 MB, free: 1.598 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.05533, allocations: 109.4 kB / 409.1 MB, free: 1.488 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.001143/0.05647, allocations: 0.6692 MB / 409.8 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.174e-05/0.05654, allocations: 101.3 kB / 409.9 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002264/0.05676, allocations: 123.1 kB / 410 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.57e-05/0.05684, allocations: 60.48 kB / 410.1 MB, free: 480 kB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.05684, allocations: 0 / 410.1 MB, free: 480 kB / 330.7 MB Notification: Performance of Templates: time 0.1425/0.1994, allocations: 8.282 MB / 418.4 MB, free: 50.59 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: 3.32193011790514]