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.001599/0.001599, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001384/0.001384, allocations: 162.2 kB / 22.46 MB, free: 5.375 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.423/1.423, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.1294/0.1294, allocations: 17.45 MB / 276.6 MB, free: 15.21 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.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.794e-06/1.794e-06, allocations: 0 / 412.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.043e-05, allocations: 2.281 kB / 412.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.004291/0.004321, allocations: 2.811 MB / 414.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007297/0.01162, allocations: 5.537 MB / 420.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002507/0.01187, allocations: 11.88 kB / 420.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.01236, allocations: 134.9 kB / 420.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006455/0.013, allocations: 269.8 kB / 420.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.01509, allocations: 1.009 MB / 421.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007691/0.01586, allocations: 0.4946 MB / 422.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002692/0.01613, allocations: 140.7 kB / 422.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003603/0.01649, allocations: 299.4 kB / 422.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003707/0.01686, allocations: 211.5 kB / 423 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.041e-05/0.01693, allocations: 31.94 kB / 423 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.018, allocations: 0.5223 MB / 423.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.01812, allocations: 87.67 kB / 423.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.0183, allocations: 127.7 kB / 423.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.01995, allocations: 1.097 MB / 424.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.01996, allocations: 0 / 424.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01996, allocations: 0 / 424.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.01997, allocations: 4 kB / 424.9 MB, free: 7.457 MB / 350.1 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.001143/0.02111, allocations: 0.691 MB / 425.6 MB, free: 6.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.02115, allocations: 11.97 kB / 425.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000558/0.02171, allocations: 112.4 kB / 425.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000608/0.02232, allocations: 317.6 kB / 426 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.02233, allocations: 12.88 kB / 426 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.278e-05/0.02239, allocations: 24.38 kB / 426 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006737/0.02306, allocations: 387.2 kB / 426.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.02307, allocations: 3.938 kB / 426.4 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.02311, allocations: 11.98 kB / 426.4 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.02312, allocations: 8 kB / 426.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008782/0.024, allocations: 0.5395 MB / 427 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.02586, allocations: 1.282 MB / 428.2 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.02621, allocations: 154.5 kB / 428.4 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.02639, allocations: 93.2 kB / 428.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001932/0.02832, allocations: 0.9442 MB / 429.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.02835, allocations: 38.5 kB / 429.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.02835, allocations: 0 / 429.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004977/0.02885, allocations: 220.7 kB / 429.7 MB, free: 2.453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.02889, allocations: 55.41 kB / 429.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/0.02927, allocations: 349.5 kB / 430.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.0293, allocations: 29.7 kB / 430.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.02948, allocations: 231.9 kB / 430.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.02953, allocations: 51.62 kB / 430.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.02963, allocations: 77.45 kB / 430.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.0298, allocations: 346.7 kB / 430.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.02992, allocations: 63.95 kB / 430.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.03019, allocations: 244.8 kB / 431.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004665/0.03065, allocations: 348.5 kB / 431.4 MB, free: 484 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.03066, allocations: 8 kB / 431.5 MB, free: 476 kB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005931/0.03125, allocations: 341.3 kB / 431.8 MB, free: 128 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.03127, allocations: 8 kB / 431.8 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.03128, allocations: 4 kB / 431.8 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.03131, allocations: 8 kB / 431.8 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.03155, allocations: 79.84 kB / 431.9 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.03156, allocations: 11.98 kB / 431.9 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.03176, allocations: 35.83 kB / 431.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.0318, allocations: 24.31 kB / 432 MB, free: 15.95 MB / 366.1 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 0.0001657/0.03197, allocations: 165.5 kB / 432.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/0.03203, allocations: 35.77 kB / 432.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005642/0.0326, allocations: 278.3 kB / 432.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.0326, allocations: 0 / 432.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.0326, allocations: 0 / 432.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.03261, allocations: 3.938 kB / 432.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006444/0.03325, allocations: 0.5491 MB / 433 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.03326, allocations: 8.062 kB / 433 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.742e-05/0.03333, allocations: 19.97 kB / 433 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.03333, allocations: 4 kB / 433 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.03334, allocations: 0 / 433 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.03335, allocations: 4 kB / 433 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.03335, allocations: 7.875 kB / 433 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.03357, allocations: 161.2 kB / 433.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/0.03364, allocations: 39.98 kB / 433.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.03369, allocations: 4 kB / 433.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.042e-05/0.03378, allocations: 0 / 433.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.03382, allocations: 19.86 kB / 433.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.03383, allocations: 4 kB / 433.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003145/0.03414, allocations: 275.2 kB / 433.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.03414, allocations: 0 / 433.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007085/0.03485, allocations: 179.3 kB / 433.7 MB, free: 14.09 MB / 366.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.0005647/0.03541, allocations: 314.9 kB / 434 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003185/0.03573, allocations: 161.3 kB / 434.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.03573, allocations: 0 / 434.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.07e-05/0.03578, allocations: 27.92 kB / 434.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.03627, allocations: 73.89 kB / 434.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000861/0.03713, allocations: 0.5151 MB / 434.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.03729, allocations: 172.8 kB / 434.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002485/0.03754, allocations: 90.31 kB / 435 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.845e-05/0.03763, allocations: 44.48 kB / 435.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.03763, allocations: 0 / 435.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of Templates: time 0.0113/0.04893, allocations: 5.987 MB / 441.1 MB, free: 6.738 MB / 366.1 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.758378401398659] Failed to read output from testmodel.py, exit status != 0: 0.05760298669338226 0.2654824 0.24269363600000002 Calling exit ...