Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit.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.0008752/0.0008752, allocations: 77.86 kB / 20.66 MB, free: 3.836 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.0009273/0.0009273, allocations: 165 kB / 24.06 MB, free: 452 kB / 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.9234/0.9234, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.06635/0.06635, allocations: 12.76 MB / 273.8 MB, free: 112 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/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(Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit") translateModel(Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 348.1 MB, free: 2.02 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.37e-05, allocations: 2.312 kB / 348.1 MB, free: 2.016 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit): time 0.002777/0.00279, allocations: 2.856 MB / 350.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00266/0.00545, allocations: 2.769 MB / 353.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.005554, allocations: 15.88 kB / 353.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.005692, allocations: 47.5 kB / 353.7 MB, free: 12.3 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit.A.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit.A.Utilities.readReal' contains a call to impure function 'Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit.A.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit.B.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit.B.Utilities.readReal' contains a call to impure function 'Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit.B.Utilities.UnitConversions.findUnit'. Notification: Performance of NFTyping.typeBindings: time 0.0006666/0.006358, allocations: 417.8 kB / 354.2 MB, free: 11.89 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit.A.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit.A.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit.B.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit.B.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. Notification: Performance of NFTyping.typeClassSections: time 0.0004817/0.00684, allocations: 442.6 kB / 354.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.007092, allocations: 334.3 kB / 354.9 MB, free: 11.13 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.121e-05/0.007184, allocations: 32.92 kB / 354.9 MB, free: 11.1 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.007305, allocations: 159.5 kB / 355.1 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.007498, allocations: 123.6 kB / 355.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.007519, allocations: 12 kB / 355.2 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.397e-05/0.007563, allocations: 20 kB / 355.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.007613, allocations: 51.77 kB / 355.3 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.955e-05/0.007673, allocations: 79.77 kB / 355.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.007867, allocations: 211.2 kB / 355.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.492e-06/0.007868, allocations: 0 / 355.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.007869, allocations: 0 / 355.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.007873, allocations: 0 / 355.6 MB, free: 10.46 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0004845/0.008357, allocations: 0.5694 MB / 356.2 MB, free: 9.852 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.008388, allocations: 19.92 kB / 356.2 MB, free: 9.832 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.008489, allocations: 44.75 kB / 356.2 MB, free: 9.789 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.008719, allocations: 263.5 kB / 356.5 MB, free: 9.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.00873, allocations: 8.375 kB / 356.5 MB, free: 9.492 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.008752, allocations: 16.38 kB / 356.5 MB, free: 9.477 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.008854, allocations: 90.19 kB / 356.6 MB, free: 9.383 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.008866, allocations: 3.938 kB / 356.6 MB, free: 9.379 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.008876, allocations: 8 kB / 356.6 MB, free: 9.371 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.008881, allocations: 0 / 356.6 MB, free: 9.371 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.545e-05/0.008936, allocations: 35.95 kB / 356.6 MB, free: 9.336 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.009428, allocations: 455.7 kB / 357.1 MB, free: 8.863 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.949e-05/0.009528, allocations: 79 kB / 357.2 MB, free: 8.773 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.103e-05/0.009559, allocations: 23.67 kB / 357.2 MB, free: 8.746 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.009572, allocations: 8.031 kB / 357.2 MB, free: 8.738 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.00959, allocations: 33.39 kB / 357.2 MB, free: 8.695 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.943e-06/0.009592, allocations: 3.984 kB / 357.2 MB, free: 8.691 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001527/0.009745, allocations: 113.3 kB / 357.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.861e-05/0.009763, allocations: 55.41 kB / 357.4 MB, free: 8.508 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.009904, allocations: 300.1 kB / 357.7 MB, free: 8.199 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.009915, allocations: 25.7 kB / 357.7 MB, free: 8.168 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.407e-05/0.009989, allocations: 211 kB / 357.9 MB, free: 7.957 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.01001, allocations: 39.67 kB / 358 MB, free: 7.918 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.01006, allocations: 51.3 kB / 358 MB, free: 7.859 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.01016, allocations: 0.504 MB / 358.5 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.22e-05/0.01018, allocations: 15.98 kB / 358.5 MB, free: 7.328 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.152e-05/0.01024, allocations: 74.03 kB / 358.6 MB, free: 7.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.071e-05/0.01032, allocations: 102 kB / 358.7 MB, free: 7.105 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.01032, allocations: 7.938 kB / 358.7 MB, free: 7.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001322/0.01045, allocations: 144.3 kB / 358.8 MB, free: 6.953 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/0.01046, allocations: 4 kB / 358.8 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01047, allocations: 4 kB / 358.9 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.01048, allocations: 3.938 kB / 358.9 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.01058, allocations: 43.92 kB / 358.9 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.01058, allocations: 4 kB / 358.9 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.766e-05/0.01064, allocations: 12.05 kB / 358.9 MB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.01065, allocations: 12 kB / 358.9 MB, free: 6.871 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (21): * Single equations (assignments): 21 * 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 6.815e-05/0.01072, allocations: 168.5 kB / 359.1 MB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.01075, allocations: 27.84 kB / 359.1 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.01078, allocations: 25.78 kB / 359.1 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01078, allocations: 3.984 kB / 359.1 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.01079, allocations: 4 kB / 359.2 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.01083, allocations: 27.84 kB / 359.2 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.01085, allocations: 4 kB / 359.2 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.137e-05/0.0109, allocations: 4 kB / 359.2 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.01091, allocations: 7.922 kB / 359.2 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001574/0.01107, allocations: 212.8 kB / 359.4 MB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001809/0.01125, allocations: 378.8 kB / 359.8 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.145e-05/0.01128, allocations: 35.64 kB / 359.8 MB, free: 5.949 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.768e-05/0.01136, allocations: 193.1 kB / 360 MB, free: 5.758 MB / 330.7 MB Notification: Performance of Backend: time 3.21e-07/0.01136, allocations: 0 / 360 MB, free: 5.758 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.01162, allocations: 136.8 kB / 360.1 MB, free: 5.613 MB / 330.7 MB Error: Error parsing unit kcal: Unit not found Error: Error parsing unit kcal/min: Unit not found Error: Error parsing unit kcal/mol: Unit not found Error: Error parsing unit %: Parse error Notification: Performance of SimCode: time 0.001153/0.01278, allocations: 1.222 MB / 361.4 MB, free: 4.336 MB / 330.7 MB Notification: Performance of Templates: time 0.004422/0.0172, allocations: 2.898 MB / 364.2 MB, free: 1.488 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit.makefile [Timeout 660] (rm -f Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit.pipe ; mkfifo Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit.pipe ; head -c 1048576 < Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit.pipe >> ../files/Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit.sim & ./Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5668715951032937]