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.001846/0.001846, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.002038/0.002038, allocations: 169.9 kB / 22.45 MB, free: 2.105 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.702/1.702, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.09287/0.09287, allocations: 12.75 MB / 271.9 MB, free: 500 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.262e-06/1.262e-06, allocations: 0 / 403.2 MB, free: 7.996 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.113e-05/3.239e-05, allocations: 6.219 kB / 403.2 MB, free: 7.988 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit): time 0.004632/0.004664, allocations: 2.71 MB / 405.9 MB, free: 5.262 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005882/0.01055, allocations: 2.75 MB / 408.7 MB, free: 2.496 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.01076, allocations: 15.88 kB / 408.7 MB, free: 2.48 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.01097, allocations: 43.52 kB / 408.7 MB, free: 2.438 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.001411/0.01239, allocations: 417.8 kB / 409.1 MB, free: 2.027 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.001237/0.01362, allocations: 454 kB / 409.6 MB, free: 1.586 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005351/0.01416, allocations: 334.3 kB / 409.9 MB, free: 1.258 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.01433, allocations: 36.91 kB / 409.9 MB, free: 1.227 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.01457, allocations: 151.6 kB / 410.1 MB, free: 1.078 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003102/0.01488, allocations: 115.7 kB / 410.2 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/0.01492, allocations: 16 kB / 410.2 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-05/0.015, allocations: 19.98 kB / 410.2 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.274e-05/0.01509, allocations: 59.75 kB / 410.3 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.01521, allocations: 71.78 kB / 410.4 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.01568, allocations: 267.1 kB / 410.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01568, allocations: 0 / 410.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01569, allocations: 0 / 410.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.01569, allocations: 0 / 410.6 MB, free: 0.5391 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.0009276/0.01662, allocations: 484.8 kB / 411.1 MB, free: 36 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.01667, allocations: 11.98 kB / 411.1 MB, free: 24 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2202/0.2369, allocations: 41.23 kB / 411.2 MB, free: 22.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005403/0.2374, allocations: 237.2 kB / 411.4 MB, free: 22.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.2374, allocations: 10.75 kB / 411.4 MB, free: 22.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.2375, allocations: 16.23 kB / 411.4 MB, free: 22.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.2378, allocations: 134.5 kB / 411.5 MB, free: 22.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.2378, allocations: 3.953 kB / 411.5 MB, free: 22.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.2378, allocations: 8.625 kB / 411.6 MB, free: 22.08 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.2378, allocations: 3.531 kB / 411.6 MB, free: 22.08 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.238, allocations: 102.7 kB / 411.7 MB, free: 22.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000938/0.2389, allocations: 459.6 kB / 412.1 MB, free: 21.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.2392, allocations: 114.3 kB / 412.2 MB, free: 21.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.249e-05/0.2392, allocations: 51.22 kB / 412.3 MB, free: 21.76 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.2393, allocations: 1.219 kB / 412.3 MB, free: 21.76 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.2393, allocations: 33.53 kB / 412.3 MB, free: 21.72 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.904e-06/0.2393, allocations: 96 / 412.3 MB, free: 21.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003341/0.2396, allocations: 177.8 kB / 412.5 MB, free: 21.63 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.2397, allocations: 55.78 kB / 412.5 MB, free: 21.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.2399, allocations: 256.3 kB / 412.8 MB, free: 21.42 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.2399, allocations: 27.33 kB / 412.8 MB, free: 21.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.24, allocations: 155.9 kB / 413 MB, free: 21.26 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.2401, allocations: 40.09 kB / 413 MB, free: 21.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-05/0.2401, allocations: 40.27 kB / 413 MB, free: 21.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.372e-05/0.2402, allocations: 337.9 kB / 413.4 MB, free: 20.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.904e-05/0.2403, allocations: 40.98 kB / 413.4 MB, free: 20.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.557e-05/0.2404, allocations: 91.19 kB / 413.5 MB, free: 20.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.2405, allocations: 136.7 kB / 413.6 MB, free: 20.72 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2405, allocations: 1.5 kB / 413.6 MB, free: 20.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002653/0.2408, allocations: 195.2 kB / 413.8 MB, free: 20.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2408, allocations: 5.031 kB / 413.8 MB, free: 20.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.2408, allocations: 1.219 kB / 413.8 MB, free: 20.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.2408, allocations: 3.406 kB / 413.8 MB, free: 20.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.2411, allocations: 40.39 kB / 413.9 MB, free: 20.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2411, allocations: 2.438 kB / 413.9 MB, free: 20.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.2412, allocations: 25.03 kB / 413.9 MB, free: 20.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.2412, allocations: 5.594 kB / 413.9 MB, free: 20.61 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 8.933e-05/0.2413, allocations: 136.1 kB / 414 MB, free: 20.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.2413, allocations: 33.52 kB / 414.1 MB, free: 20.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.638e-05/0.2414, allocations: 27.56 kB / 414.1 MB, free: 20.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2414, allocations: 1.344 kB / 414.1 MB, free: 20.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.2414, allocations: 2.062 kB / 414.1 MB, free: 20.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2414, allocations: 0.5156 kB / 414.1 MB, free: 20.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.2416, allocations: 188.8 kB / 414.3 MB, free: 20.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2416, allocations: 0.6562 kB / 414.3 MB, free: 20.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.2417, allocations: 24.77 kB / 414.3 MB, free: 20.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2417, allocations: 12.73 kB / 414.3 MB, free: 20.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.2417, allocations: 0.6094 kB / 414.3 MB, free: 20.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2417, allocations: 1.531 kB / 414.3 MB, free: 20.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.2417, allocations: 4.219 kB / 414.3 MB, free: 20.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.2421, allocations: 280.8 kB / 414.6 MB, free: 20.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.911e-05/0.2421, allocations: 41.59 kB / 414.6 MB, free: 20.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.2422, allocations: 6.703 kB / 414.6 MB, free: 20.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2423, allocations: 1.281 kB / 414.6 MB, free: 20.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.2423, allocations: 5.938 kB / 414.7 MB, free: 20.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.2423, allocations: 7.172 kB / 414.7 MB, free: 20.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001515/0.2425, allocations: 180.6 kB / 414.8 MB, free: 19.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2425, allocations: 0.6562 kB / 414.8 MB, free: 19.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002657/0.2427, allocations: 44.69 kB / 414.9 MB, free: 19.96 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 9.428e-05/0.2428, allocations: 99.36 kB / 415 MB, free: 19.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.243, allocations: 108.5 kB / 415.1 MB, free: 19.83 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.243, allocations: 5.188 kB / 415.1 MB, free: 19.83 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.318e-05/0.2431, allocations: 46 kB / 415.1 MB, free: 19.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.2435, allocations: 42.05 kB / 415.2 MB, free: 19.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007413/0.2443, allocations: 424.2 kB / 415.6 MB, free: 19.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.2444, allocations: 142.5 kB / 415.7 MB, free: 19.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.2445, allocations: 34.39 kB / 415.8 MB, free: 19.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.695e-05/0.2446, allocations: 21.19 kB / 415.8 MB, free: 19.44 MB / 330.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2446, allocations: 0 / 415.8 MB, free: 19.44 MB / 330.7 MB Notification: Performance of Templates: time 0.00696/0.2515, allocations: 2.361 MB / 418.1 MB, free: 19.16 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: 5.687409484758973]