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.001551/0.001551, allocations: 78.64 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001776/0.001776, allocations: 156.8 kB / 23.01 MB, free: 4.598 MB / 14.72 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.332/1.332, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 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.1163/0.1163, allocations: 17.43 MB / 277.2 MB, free: 15.2 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.91 kB / 412.6 MB, free: 5.559 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1042, allocations: 59.88 MB / 472.5 MB, free: 9.562 MB / 446.1 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.4133/0.5175, allocations: 24.13 MB / 496.6 MB, free: 39.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00694/0.5244, allocations: 8.073 MB / 0.4928 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.5246, allocations: 14 kB / 0.4928 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004762/0.5251, allocations: 204.2 kB / 0.493 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006209/0.5257, allocations: 355 kB / 0.4934 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.5281, allocations: 1.444 MB / 0.4948 GB, free: 34.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005685/0.5286, allocations: 0.6716 MB / 0.4954 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.5288, allocations: 186.6 kB / 0.4956 GB, free: 33.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.5291, allocations: 326.8 kB / 0.4959 GB, free: 33.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003708/0.5295, allocations: 338.9 kB / 0.4963 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.458e-05/0.5295, allocations: 38.38 kB / 0.4963 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.5307, allocations: 0.7769 MB / 0.4971 GB, free: 33.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.5308, allocations: 116.3 kB / 0.4972 GB, free: 33.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.531, allocations: 218 kB / 0.4974 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.5326, allocations: 1.523 MB / 0.4989 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.5326, allocations: 0.5 kB / 0.4989 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5326, allocations: 0 / 0.4989 GB, free: 32.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.5327, allocations: 0.5312 kB / 0.4989 GB, free: 32.49 MB / 446.1 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.001058/0.5337, allocations: 0.8818 MB / 0.4997 GB, free: 31.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.5337, allocations: 9.375 kB / 0.4997 GB, free: 31.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006926/0.5344, allocations: 167.5 kB / 0.4999 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005379/0.535, allocations: 407.2 kB / 0.5003 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.535, allocations: 25.16 kB / 0.5003 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/0.5351, allocations: 31.56 kB / 0.5003 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/0.5357, allocations: 0.5317 MB / 0.5009 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.5357, allocations: 1.25 kB / 0.5009 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/0.5358, allocations: 14.5 kB / 0.5009 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.5358, allocations: 8.938 kB / 0.5009 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009891/0.5368, allocations: 0.7899 MB / 0.5016 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.5386, allocations: 1.725 MB / 0.5033 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.539, allocations: 204.6 kB / 0.5035 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.5392, allocations: 122.8 kB / 0.5036 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002149/0.5413, allocations: 1.285 MB / 0.5049 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.5414, allocations: 32.88 kB / 0.5049 GB, free: 29.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/0.5414, allocations: 0 / 0.5049 GB, free: 29.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005383/0.5419, allocations: 292.2 kB / 0.5052 GB, free: 29.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.5419, allocations: 53.5 kB / 0.5053 GB, free: 28.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.5423, allocations: 451.5 kB / 0.5057 GB, free: 28.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.5423, allocations: 30.73 kB / 0.5057 GB, free: 28.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.5425, allocations: 304.8 kB / 0.506 GB, free: 28.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.5425, allocations: 67.45 kB / 0.5061 GB, free: 28.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.5426, allocations: 97.92 kB / 0.5062 GB, free: 28.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.419e-05/0.5427, allocations: 354 kB / 0.5065 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.5428, allocations: 89.59 kB / 0.5066 GB, free: 28.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.543, allocations: 364.7 kB / 0.5069 GB, free: 27.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004492/0.5435, allocations: 0.4903 MB / 0.5074 GB, free: 27.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.5435, allocations: 2.844 kB / 0.5074 GB, free: 27.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006335/0.5441, allocations: 486.6 kB / 0.5079 GB, free: 26.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.5442, allocations: 10.31 kB / 0.5079 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.5442, allocations: 13.5 kB / 0.5079 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.5442, allocations: 12.94 kB / 0.5079 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.5445, allocations: 108.1 kB / 0.508 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.5445, allocations: 19.7 kB / 0.508 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.5447, allocations: 57.66 kB / 0.5081 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.403e-05/0.5448, allocations: 36.91 kB / 0.5081 GB, free: 26.89 MB / 446.1 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.0001332/0.5449, allocations: 183.1 kB / 0.5083 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.564e-05/0.545, allocations: 46.91 kB / 0.5084 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005596/0.5455, allocations: 399.3 kB / 0.5087 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5455, allocations: 5.25 kB / 0.5087 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5455, allocations: 0 / 0.5087 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5455, allocations: 1.406 kB / 0.5087 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005447/0.5461, allocations: 0.6203 MB / 0.5093 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5461, allocations: 1.125 kB / 0.5093 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.447e-05/0.5462, allocations: 10.06 kB / 0.5094 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.5462, allocations: 6.625 kB / 0.5094 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.5462, allocations: 5.406 kB / 0.5094 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.5462, allocations: 13.53 kB / 0.5094 GB, free: 25.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5462, allocations: 1.219 kB / 0.5094 GB, free: 25.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.5464, allocations: 189.1 kB / 0.5096 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/0.5464, allocations: 44.19 kB / 0.5096 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.143e-05/0.5465, allocations: 16.27 kB / 0.5096 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.5466, allocations: 8.734 kB / 0.5096 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.5466, allocations: 4.125 kB / 0.5096 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.5466, allocations: 3.438 kB / 0.5096 GB, free: 25.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003135/0.5469, allocations: 364 kB / 0.51 GB, free: 25.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5469, allocations: 4 kB / 0.51 GB, free: 25.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006241/0.5476, allocations: 258.2 kB / 0.5102 GB, free: 25.53 MB / 446.1 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.0005029/0.5481, allocations: 407.4 kB / 0.5106 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003206/0.5484, allocations: 222 kB / 0.5108 GB, free: 25.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5484, allocations: 3.156 kB / 0.5108 GB, free: 25.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.521e-05/0.5484, allocations: 33.12 kB / 0.5109 GB, free: 25.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.5489, allocations: 104 kB / 0.511 GB, free: 25.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.5497, allocations: 0.6733 MB / 0.5116 GB, free: 24.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.5498, allocations: 210.9 kB / 0.5118 GB, free: 24.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003164/0.5502, allocations: 134.5 kB / 0.512 GB, free: 24.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.461e-05/0.5503, allocations: 53.94 kB / 0.512 GB, free: 24.61 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.5503, allocations: 4 kB / 0.512 GB, free: 24.61 MB / 446.1 MB Notification: Performance of Templates: time 0.01191/0.5622, allocations: 8.217 MB / 0.52 GB, free: 23.6 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -s ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.751839737058617] Failed to read output from testmodel.py, exit status != 0: 0.5696075760060921 0.5794022080000001 0.044602049000000005 Calling exit ...