Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.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.0008412/0.0008412, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008128/0.0008128, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8316/0.8316, allocations: 177.1 MB / 203.5 MB, free: 5.582 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.08504/0.08504, allocations: 17.45 MB / 277.4 MB, free: 11.61 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 412.9 MB, free: 15.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.535e-05, allocations: 8.891 kB / 412.9 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.002641/0.002667, allocations: 2.806 MB / 415.7 MB, free: 12.91 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003852/0.006519, allocations: 5.541 MB / 421.2 MB, free: 7.344 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.006655, allocations: 11.88 kB / 421.2 MB, free: 7.332 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.006977, allocations: 134.9 kB / 421.4 MB, free: 7.199 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003901/0.007367, allocations: 269.8 kB / 421.6 MB, free: 6.934 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.008416, allocations: 1.005 MB / 422.6 MB, free: 5.922 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004413/0.008857, allocations: 0.4985 MB / 423.1 MB, free: 5.422 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.009048, allocations: 136.7 kB / 423.3 MB, free: 5.285 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.009243, allocations: 311.4 kB / 423.6 MB, free: 4.98 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.009466, allocations: 207.5 kB / 423.8 MB, free: 4.777 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.009501, allocations: 24 kB / 423.8 MB, free: 4.754 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005812/0.01008, allocations: 0.534 MB / 424.3 MB, free: 4.219 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.626e-05/0.01016, allocations: 83.67 kB / 424.4 MB, free: 4.137 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.742e-05/0.01025, allocations: 127.7 kB / 424.5 MB, free: 4.012 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.01125, allocations: 1.101 MB / 425.6 MB, free: 2.906 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.01125, allocations: 0 / 425.6 MB, free: 2.906 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.01125, allocations: 0 / 425.6 MB, free: 2.906 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.01126, allocations: 0 / 425.6 MB, free: 2.906 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006686/0.01193, allocations: 0.6832 MB / 426.3 MB, free: 2.191 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.01196, allocations: 16.03 kB / 426.3 MB, free: 2.176 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002811/0.01224, allocations: 108.6 kB / 426.4 MB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.0126, allocations: 317.5 kB / 426.7 MB, free: 1.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.01262, allocations: 16.88 kB / 426.8 MB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.01264, allocations: 24.38 kB / 426.8 MB, free: 1.691 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.01301, allocations: 383.2 kB / 427.2 MB, free: 1.293 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.01302, allocations: 3.938 kB / 427.2 MB, free: 1.289 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.01304, allocations: 12 kB / 427.2 MB, free: 1.277 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.01305, allocations: 4 kB / 427.2 MB, free: 1.273 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004831/0.01353, allocations: 0.5434 MB / 427.7 MB, free: 0.7305 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.01458, allocations: 1.282 MB / 429 MB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.0148, allocations: 154.5 kB / 429.2 MB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.0149, allocations: 88.81 kB / 429.2 MB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.01591, allocations: 0.9364 MB / 430.2 MB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.01593, allocations: 34.56 kB / 430.2 MB, free: 14.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.504e-06/0.01593, allocations: 7.938 kB / 430.2 MB, free: 14.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003118/0.01624, allocations: 213.4 kB / 430.4 MB, free: 13.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.01627, allocations: 51.41 kB / 430.5 MB, free: 13.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.01649, allocations: 349.5 kB / 430.8 MB, free: 13.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.01651, allocations: 29.7 kB / 430.9 MB, free: 13.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.01661, allocations: 227.9 kB / 431.1 MB, free: 13.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.01664, allocations: 51.59 kB / 431.1 MB, free: 13.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.06e-05/0.0167, allocations: 73.64 kB / 431.2 MB, free: 13.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.529e-05/0.01678, allocations: 346.8 kB / 431.5 MB, free: 12.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.232e-05/0.01686, allocations: 55.97 kB / 431.6 MB, free: 12.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.017, allocations: 248.7 kB / 431.8 MB, free: 12.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.01724, allocations: 352.5 kB / 432.2 MB, free: 11.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.01725, allocations: 4 kB / 432.2 MB, free: 11.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004633/0.01771, allocations: 344.9 kB / 432.5 MB, free: 11.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.01772, allocations: 8 kB / 432.5 MB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.01773, allocations: 8 kB / 432.5 MB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.01774, allocations: 8 kB / 432.5 MB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.01787, allocations: 76.56 kB / 432.6 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.01788, allocations: 12 kB / 432.6 MB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.469e-05/0.01798, allocations: 43.72 kB / 432.7 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.018, allocations: 23.94 kB / 432.7 MB, free: 11.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (35): * Single equations (assignments): 35 * 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.536e-05/0.0181, allocations: 161.6 kB / 432.9 MB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.01813, allocations: 27.81 kB / 432.9 MB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003203/0.01845, allocations: 289.6 kB / 433.2 MB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.01845, allocations: 4 kB / 433.2 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.01845, allocations: 4 kB / 433.2 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.01846, allocations: 0 / 433.2 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.01882, allocations: 0.5529 MB / 433.7 MB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01882, allocations: 0 / 433.7 MB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.576e-05/0.01885, allocations: 8 kB / 433.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01885, allocations: 4 kB / 433.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.01886, allocations: 0 / 433.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.01886, allocations: 4.188 kB / 433.7 MB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.01887, allocations: 15.86 kB / 433.8 MB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.01898, allocations: 169.2 kB / 433.9 MB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.01901, allocations: 31.8 kB / 434 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.01904, allocations: 7.953 kB / 434 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.086e-05/0.01908, allocations: 4 kB / 434 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.0191, allocations: 7.875 kB / 434 MB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-06/0.0191, allocations: 8.125 kB / 434 MB, free: 10.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001735/0.01928, allocations: 279.1 kB / 434.3 MB, free: 9.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01928, allocations: 0 / 434.3 MB, free: 9.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003082/0.01958, allocations: 179.4 kB / 434.4 MB, free: 9.574 MB / 410.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.0003385/0.01992, allocations: 314.9 kB / 434.7 MB, free: 9.254 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.02012, allocations: 165.3 kB / 434.9 MB, free: 9.094 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.02012, allocations: 0 / 434.9 MB, free: 9.094 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.785e-05/0.02015, allocations: 35.98 kB / 434.9 MB, free: 9.059 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.02044, allocations: 78.69 kB / 435 MB, free: 8.984 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005432/0.02098, allocations: 0.5483 MB / 435.6 MB, free: 8.387 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.22e-05/0.02108, allocations: 164.8 kB / 435.7 MB, free: 8.207 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.767e-05/0.02115, allocations: 64.45 kB / 435.8 MB, free: 8.145 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.02115, allocations: 0 / 435.8 MB, free: 8.145 MB / 410.7 MB Notification: Performance of Templates: time 0.005103/0.02626, allocations: 5.786 MB / 441.6 MB, free: 2.383 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.713518683798611] Failed to read output from testmodel.py, exit status != 0: 0.03163353353738785 0.169500817 0.156938721 Calling exit ...