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.001674/0.001674, allocations: 80.2 kB / 19.76 MB, free: 2.027 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.001633/0.001633, allocations: 158.4 kB / 23.01 MB, free: 4.949 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.345/1.345, allocations: 177.2 MB / 203.4 MB, free: 8.941 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.1221/0.1221, allocations: 17.44 MB / 277.2 MB, free: 15.17 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: 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.002015/0.002015, allocations: 75.84 kB / 412.6 MB, free: 5.543 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1032, allocations: 59.87 MB / 472.5 MB, free: 9.555 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.004124/0.1073, allocations: 2.83 MB / 475.3 MB, free: 6.703 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006884/0.1142, allocations: 5.538 MB / 480.8 MB, free: 1.141 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000258/0.1144, allocations: 11.88 kB / 480.8 MB, free: 1.129 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004535/0.1149, allocations: 135 kB / 481 MB, free: 0.9961 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006096/0.1155, allocations: 250.1 kB / 481.2 MB, free: 0.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1959/0.3114, allocations: 0.9764 MB / 482.2 MB, free: 43.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006388/0.312, allocations: 496.6 kB / 482.7 MB, free: 43.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.3122, allocations: 135.1 kB / 482.8 MB, free: 43.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.3124, allocations: 239.7 kB / 483 MB, free: 43.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.3127, allocations: 240.8 kB / 483.3 MB, free: 43.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.669e-05/0.3128, allocations: 24.09 kB / 483.3 MB, free: 43.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009966/0.3138, allocations: 0.5122 MB / 483.8 MB, free: 43.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.807e-05/0.3139, allocations: 90.62 kB / 483.9 MB, free: 43.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.314, allocations: 153.1 kB / 484 MB, free: 43.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009803/0.315, allocations: 1.041 MB / 485.1 MB, free: 43.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.315, allocations: 0 / 485.1 MB, free: 43.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.315, allocations: 0 / 485.1 MB, free: 43.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.315, allocations: 0 / 485.1 MB, free: 43.16 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007436/0.3158, allocations: 0.6881 MB / 485.8 MB, free: 42.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.3158, allocations: 10.12 kB / 485.8 MB, free: 42.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004715/0.3163, allocations: 114.1 kB / 485.9 MB, free: 42.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.3167, allocations: 321.9 kB / 486.2 MB, free: 42.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3167, allocations: 21.84 kB / 486.2 MB, free: 42.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.3167, allocations: 19.41 kB / 486.3 MB, free: 42.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.3172, allocations: 388.7 kB / 486.6 MB, free: 42.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3172, allocations: 3.5 kB / 486.6 MB, free: 42.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.3172, allocations: 12.67 kB / 486.6 MB, free: 42.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3172, allocations: 6.469 kB / 486.7 MB, free: 42.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005855/0.3178, allocations: 0.5411 MB / 487.2 MB, free: 42.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.319, allocations: 1.29 MB / 488.5 MB, free: 41.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.3193, allocations: 155.7 kB / 488.6 MB, free: 41.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.3194, allocations: 89.09 kB / 488.7 MB, free: 41.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0014/0.3208, allocations: 0.9306 MB / 489.7 MB, free: 41.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.3208, allocations: 33.44 kB / 489.7 MB, free: 41.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.3208, allocations: 0 / 489.7 MB, free: 41.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003613/0.3212, allocations: 219.3 kB / 489.9 MB, free: 41.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.827e-05/0.3212, allocations: 54.28 kB / 490 MB, free: 41.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.3214, allocations: 354.8 kB / 490.3 MB, free: 41.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.3215, allocations: 25.7 kB / 490.3 MB, free: 41.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.695e-05/0.3215, allocations: 233.5 kB / 490.6 MB, free: 40.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.3216, allocations: 50.98 kB / 490.6 MB, free: 40.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.3216, allocations: 68.12 kB / 490.7 MB, free: 40.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.942e-05/0.3217, allocations: 351.1 kB / 491 MB, free: 40.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.116e-05/0.3218, allocations: 64.81 kB / 491.1 MB, free: 40.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.3219, allocations: 237.9 kB / 491.3 MB, free: 40.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.3222, allocations: 346.9 kB / 491.6 MB, free: 40.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3222, allocations: 7.188 kB / 491.7 MB, free: 40.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000401/0.3226, allocations: 347.7 kB / 492 MB, free: 40.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3226, allocations: 7.531 kB / 492 MB, free: 40.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3226, allocations: 9.438 kB / 492 MB, free: 40.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3226, allocations: 6.438 kB / 492 MB, free: 40.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.3228, allocations: 76.34 kB / 492.1 MB, free: 40.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.3228, allocations: 16.09 kB / 492.1 MB, free: 40.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.323, allocations: 36.38 kB / 492.1 MB, free: 40.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.323, allocations: 22.33 kB / 492.2 MB, free: 40.02 MB / 446.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 9.769e-05/0.3231, allocations: 160.1 kB / 492.3 MB, free: 39.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.3231, allocations: 32.55 kB / 492.4 MB, free: 39.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003886/0.3235, allocations: 285.4 kB / 492.6 MB, free: 39.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3235, allocations: 3.25 kB / 492.6 MB, free: 39.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3235, allocations: 0 / 492.6 MB, free: 39.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3235, allocations: 4.641 kB / 492.6 MB, free: 39.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004111/0.324, allocations: 0.552 MB / 493.2 MB, free: 39.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.324, allocations: 3.281 kB / 493.2 MB, free: 39.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.344e-05/0.324, allocations: 13.02 kB / 493.2 MB, free: 39.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.324, allocations: 0 / 493.2 MB, free: 39.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.324, allocations: 7.062 kB / 493.2 MB, free: 39.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.324, allocations: 6.781 kB / 493.2 MB, free: 39.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.324, allocations: 0 / 493.2 MB, free: 39.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.3242, allocations: 171 kB / 493.4 MB, free: 39.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.3242, allocations: 39.62 kB / 493.4 MB, free: 39.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.3242, allocations: 14.75 kB / 493.4 MB, free: 39.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.257e-05/0.3243, allocations: 4 kB / 493.4 MB, free: 39.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.3243, allocations: 10.39 kB / 493.5 MB, free: 39.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.3244, allocations: 3.25 kB / 493.5 MB, free: 39.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000197/0.3245, allocations: 279.9 kB / 493.7 MB, free: 39.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3245, allocations: 0 / 493.7 MB, free: 39.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004326/0.325, allocations: 173.7 kB / 493.9 MB, free: 39.02 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.0003432/0.3253, allocations: 307.3 kB / 494.2 MB, free: 38.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.3256, allocations: 159.6 kB / 494.4 MB, free: 38.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3256, allocations: 3.75 kB / 494.4 MB, free: 38.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.566e-05/0.3256, allocations: 26.78 kB / 494.4 MB, free: 38.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.326, allocations: 87.5 kB / 494.5 MB, free: 38.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005889/0.3266, allocations: 0.5469 MB / 495 MB, free: 38.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.545e-05/0.3267, allocations: 166.8 kB / 495.2 MB, free: 38.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002028/0.3269, allocations: 92.03 kB / 495.3 MB, free: 38.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.216e-05/0.3269, allocations: 37.28 kB / 495.3 MB, free: 38.33 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3269, allocations: 0 / 495.3 MB, free: 38.33 MB / 446.1 MB Notification: Performance of Templates: time 0.008232/0.3352, allocations: 5.99 MB / 0.4895 GB, free: 37.67 MB / 446.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 -s ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.43382113694679] Failed to read output from testmodel.py, exit status != 0: 0.3426924831001088 0.35149814300000004 0.034094064 Calling exit ...