Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_InitSteadyState.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.002222/0.002222, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.002703/0.002703, allocations: 165.9 kB / 22.45 MB, free: 2.109 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 1.689/1.689, allocations: 177.1 MB / 202.8 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 178] 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.09582/0.09582, allocations: 12.75 MB / 271.9 MB, free: 472 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_InitSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_InitSteadyState") translateModel(Bodylight.SteadyStates.Examples.SimpleReaction_InitSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_InitSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 403.2 MB, free: 7.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.09e-05/3.237e-05, allocations: 5.375 kB / 403.2 MB, free: 7.977 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.SteadyStates.Examples.SimpleReaction_InitSteadyState): time 0.005961/0.005994, allocations: 2.713 MB / 405.9 MB, free: 5.246 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00672/0.01271, allocations: 2.742 MB / 408.7 MB, free: 2.488 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000285/0.013, allocations: 11.88 kB / 408.7 MB, free: 2.477 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.01323, allocations: 51.5 kB / 408.7 MB, free: 2.426 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_InitSteadyState.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_InitSteadyState.A.Utilities.readReal' contains a call to impure function 'Bodylight.SteadyStates.Examples.SimpleReaction_InitSteadyState.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_InitSteadyState.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_InitSteadyState.B.Utilities.readReal' contains a call to impure function 'Bodylight.SteadyStates.Examples.SimpleReaction_InitSteadyState.B.Utilities.UnitConversions.findUnit'. Notification: Performance of NFTyping.typeBindings: time 0.001712/0.01494, allocations: 409.8 kB / 409.1 MB, free: 2.023 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_InitSteadyState.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_InitSteadyState.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_InitSteadyState.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_InitSteadyState.B.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.01654, allocations: 457.3 kB / 409.6 MB, free: 1.582 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000689/0.01723, allocations: 342.3 kB / 409.9 MB, free: 1.246 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.01742, allocations: 32.91 kB / 409.9 MB, free: 1.219 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/0.01772, allocations: 159.6 kB / 410.1 MB, free: 1.062 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003785/0.0181, allocations: 123.6 kB / 410.2 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.848e-05/0.01815, allocations: 16 kB / 410.2 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.01826, allocations: 16 kB / 410.3 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.01837, allocations: 51.81 kB / 410.3 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.01851, allocations: 75.78 kB / 410.4 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005379/0.01905, allocations: 267 kB / 410.6 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.01906, allocations: 3.938 kB / 410.6 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01906, allocations: 0 / 410.6 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.01906, allocations: 0 / 410.6 MB, free: 0.5195 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.001149/0.02021, allocations: 480.9 kB / 411.1 MB, free: 20 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.02027, allocations: 15.98 kB / 411.1 MB, free: 4 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2357/0.256, allocations: 30.5 kB / 411.2 MB, free: 22.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006272/0.2566, allocations: 247.4 kB / 411.4 MB, free: 22.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.2566, allocations: 10.66 kB / 411.4 MB, free: 22.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/0.2567, allocations: 16.25 kB / 411.4 MB, free: 22.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.257, allocations: 138.8 kB / 411.6 MB, free: 22.1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.257, allocations: 3.953 kB / 411.6 MB, free: 22.1 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.2571, allocations: 8.656 kB / 411.6 MB, free: 22.1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.2571, allocations: 6.938 kB / 411.6 MB, free: 22.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.2573, allocations: 88.05 kB / 411.7 MB, free: 22.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.2585, allocations: 456.2 kB / 412.1 MB, free: 21.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.2587, allocations: 117.7 kB / 412.2 MB, free: 21.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.2588, allocations: 45.48 kB / 412.3 MB, free: 21.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.2588, allocations: 2.281 kB / 412.3 MB, free: 21.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.2589, allocations: 36.31 kB / 412.3 MB, free: 21.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 3.046e-06/0.2589, allocations: 2.906 kB / 412.3 MB, free: 21.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004353/0.2593, allocations: 173.2 kB / 412.5 MB, free: 21.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.2593, allocations: 52.47 kB / 412.5 MB, free: 21.6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.2597, allocations: 258.9 kB / 412.8 MB, free: 21.45 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.2597, allocations: 35.67 kB / 412.8 MB, free: 21.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.353e-05/0.2598, allocations: 151.4 kB / 413 MB, free: 21.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.2598, allocations: 47.69 kB / 413 MB, free: 21.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.278e-05/0.2599, allocations: 40.62 kB / 413.1 MB, free: 21.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.822e-05/0.26, allocations: 331.5 kB / 413.4 MB, free: 20.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.2601, allocations: 40.05 kB / 413.4 MB, free: 20.9 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.2602, allocations: 88.75 kB / 413.5 MB, free: 20.83 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.2604, allocations: 141.3 kB / 413.6 MB, free: 20.74 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.2604, allocations: 0 / 413.6 MB, free: 20.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008108/0.2612, allocations: 244.4 kB / 413.9 MB, free: 20.63 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.2613, allocations: 5.766 kB / 413.9 MB, free: 20.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2613, allocations: 1.562 kB / 413.9 MB, free: 20.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006588/0.2619, allocations: 66.59 kB / 413.9 MB, free: 20.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.2621, allocations: 31.31 kB / 414 MB, free: 20.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/0.2643, allocations: 1.617 MB / 415.6 MB, free: 19.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.2645, allocations: 19.34 kB / 415.6 MB, free: 19.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.2645, allocations: 5.594 kB / 415.6 MB, free: 19.24 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.2646, allocations: 141.2 kB / 415.8 MB, free: 19.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.2647, allocations: 25.23 kB / 415.8 MB, free: 19.1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.784e-05/0.2648, allocations: 27.44 kB / 415.8 MB, free: 19.08 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2648, allocations: 1.375 kB / 415.8 MB, free: 19.08 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2648, allocations: 0 / 415.8 MB, free: 19.08 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2648, allocations: 2.672 kB / 415.8 MB, free: 19.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.2651, allocations: 200.4 kB / 416 MB, free: 18.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2651, allocations: 3.75 kB / 416 MB, free: 18.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.2653, allocations: 25.97 kB / 416 MB, free: 18.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2653, allocations: 3.906 kB / 416 MB, free: 18.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.2653, allocations: 3.938 kB / 416 MB, free: 18.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2653, allocations: 1.891 kB / 416 MB, free: 18.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2653, allocations: 3.828 kB / 416.1 MB, free: 18.92 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.2656, allocations: 280.5 kB / 416.3 MB, free: 18.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.2657, allocations: 34.16 kB / 416.4 MB, free: 18.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.2658, allocations: 10.16 kB / 416.4 MB, free: 18.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.2659, allocations: 2.188 kB / 416.4 MB, free: 18.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.266, allocations: 6.469 kB / 416.4 MB, free: 18.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.266, allocations: 2.062 kB / 416.4 MB, free: 18.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001976/0.2662, allocations: 181.7 kB / 416.6 MB, free: 18.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2662, allocations: 0 / 416.6 MB, free: 18.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005067/0.2667, allocations: 60.11 kB / 416.6 MB, free: 18.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (A.state,B.state) * 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 (11): * Single equations (assignments): 11 * 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.0001182/0.2668, allocations: 100.4 kB / 416.7 MB, free: 18.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008461/0.2677, allocations: 253.8 kB / 417 MB, free: 18.35 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2677, allocations: 3.594 kB / 417 MB, free: 18.35 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.2678, allocations: 45.61 kB / 417 MB, free: 18.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006705/0.2684, allocations: 50.92 kB / 417.1 MB, free: 18.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.2695, allocations: 428.8 kB / 417.5 MB, free: 18.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.2698, allocations: 139.8 kB / 417.6 MB, free: 17.97 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.2699, allocations: 31.09 kB / 417.6 MB, free: 17.97 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.263e-05/0.27, allocations: 21.45 kB / 417.7 MB, free: 17.96 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.27, allocations: 3.938 kB / 417.7 MB, free: 17.95 MB / 330.7 MB Notification: Performance of Templates: time 0.01266/0.2826, allocations: 3.18 MB / 420.9 MB, free: 17.59 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_InitSteadyState.makefile [Timeout 660] (rm -f Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_InitSteadyState.pipe ; mkfifo Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_InitSteadyState.pipe ; head -c 1048576 < Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_InitSteadyState.pipe >> ../files/Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_InitSteadyState.sim & ./Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_InitSteadyState -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_InitSteadyState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.794057555962354]