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.001021/0.001021, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001208/0.001208, allocations: 181 kB / 23.36 MB, free: 1.129 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.065/1.065, allocations: 177.2 MB / 203.8 MB, free: 5.504 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.07824/0.07824, allocations: 12.76 MB / 273 MB, free: 196 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.964e-06/1.964e-06, allocations: 0 / 294 MB, free: 11.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.178e-05/3.374e-05, allocations: 3.719 kB / 294.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit): time 0.004754/0.004788, allocations: 2.899 MB / 297 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005049/0.009837, allocations: 2.818 MB / 299.8 MB, free: 8.191 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000257/0.01009, allocations: 13.41 kB / 299.8 MB, free: 8.184 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.01029, allocations: 48.64 kB / 299.8 MB, free: 8.152 MB / 266.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.001509/0.0118, allocations: 399.6 kB / 300.2 MB, free: 7.934 MB / 266.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.001204/0.013, allocations: 432.1 kB / 300.6 MB, free: 7.715 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004452/0.01345, allocations: 334.8 kB / 301 MB, free: 7.551 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.01359, allocations: 35.62 kB / 301 MB, free: 7.535 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.01386, allocations: 157.3 kB / 301.2 MB, free: 7.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.01419, allocations: 117.5 kB / 301.3 MB, free: 7.449 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.864e-05/0.01423, allocations: 12.81 kB / 301.3 MB, free: 7.449 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.707e-05/0.01433, allocations: 18.98 kB / 301.3 MB, free: 7.449 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.556e-05/0.0144, allocations: 60.17 kB / 301.4 MB, free: 7.414 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.01451, allocations: 79.77 kB / 301.4 MB, free: 7.383 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003966/0.01491, allocations: 207.7 kB / 301.6 MB, free: 7.293 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.01491, allocations: 5.375 kB / 301.6 MB, free: 7.289 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01491, allocations: 0 / 301.6 MB, free: 7.289 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.01492, allocations: 0 / 301.6 MB, free: 7.289 MB / 266.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.0007113/0.01563, allocations: 457.5 kB / 302.1 MB, free: 6.926 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.01568, allocations: 14.33 kB / 302.1 MB, free: 6.922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.01588, allocations: 34.28 kB / 302.1 MB, free: 6.918 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.01625, allocations: 245.9 kB / 302.4 MB, free: 6.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.01627, allocations: 9.719 kB / 302.4 MB, free: 6.727 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.0163, allocations: 15.81 kB / 302.4 MB, free: 6.723 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.01648, allocations: 91.5 kB / 302.5 MB, free: 6.676 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.0165, allocations: 11.88 kB / 302.5 MB, free: 6.664 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.01651, allocations: 5.375 kB / 302.5 MB, free: 6.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.01652, allocations: 2.75 kB / 302.5 MB, free: 6.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/0.0166, allocations: 32.02 kB / 302.5 MB, free: 6.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007034/0.01731, allocations: 336.4 kB / 302.9 MB, free: 6.438 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.01744, allocations: 119.8 kB / 303 MB, free: 6.344 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.01748, allocations: 24.05 kB / 303 MB, free: 6.332 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.0175, allocations: 2.75 kB / 303 MB, free: 6.332 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.01752, allocations: 31.94 kB / 303.1 MB, free: 6.293 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.904e-06/0.01752, allocations: 0 / 303.1 MB, free: 6.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002011/0.01772, allocations: 89.11 kB / 303.1 MB, free: 6.254 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.01774, allocations: 56.72 kB / 303.2 MB, free: 6.188 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.01792, allocations: 234.1 kB / 303.4 MB, free: 6.039 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.01793, allocations: 31.08 kB / 303.5 MB, free: 6.004 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.01799, allocations: 141 kB / 303.6 MB, free: 5.883 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.01801, allocations: 45.78 kB / 303.6 MB, free: 5.848 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-05/0.01807, allocations: 47.11 kB / 303.7 MB, free: 5.812 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.611e-05/0.01812, allocations: 335.7 kB / 304 MB, free: 5.488 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.025e-05/0.01816, allocations: 15.66 kB / 304 MB, free: 5.484 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.599e-05/0.01822, allocations: 60.38 kB / 304.1 MB, free: 5.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.01833, allocations: 91.64 kB / 304.2 MB, free: 5.363 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01833, allocations: 3.938 kB / 304.2 MB, free: 5.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001841/0.01851, allocations: 119.6 kB / 304.3 MB, free: 5.305 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.01853, allocations: 9.5 kB / 304.3 MB, free: 5.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.01854, allocations: 5.469 kB / 304.3 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.01856, allocations: 1.406 kB / 304.3 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.01886, allocations: 48.89 kB / 304.4 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.01887, allocations: 3.656 kB / 304.4 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.01897, allocations: 22.7 kB / 304.4 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.01898, allocations: 8.031 kB / 304.4 MB, free: 5.277 MB / 266.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.605e-05/0.01905, allocations: 125.4 kB / 304.5 MB, free: 5.148 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.01909, allocations: 13.3 kB / 304.5 MB, free: 5.148 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.83e-05/0.01914, allocations: 26.41 kB / 304.6 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.01914, allocations: 1.688 kB / 304.6 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01914, allocations: 2.031 kB / 304.6 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01915, allocations: 0.5156 kB / 304.6 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.01934, allocations: 115.2 kB / 304.7 MB, free: 5.043 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.01935, allocations: 5.5 kB / 304.7 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.01955, allocations: 50.83 kB / 304.7 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.01955, allocations: 0 / 304.7 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.01957, allocations: 1.906 kB / 304.7 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.01957, allocations: 2.078 kB / 304.7 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01957, allocations: 0 / 304.7 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.01979, allocations: 244.3 kB / 305 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.01985, allocations: 31.48 kB / 305 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.01988, allocations: 4.109 kB / 305 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.985e-05/0.01998, allocations: 1.375 kB / 305 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.205e-05/0.02, allocations: 12.08 kB / 305 MB, free: 4.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.02001, allocations: 1.672 kB / 305 MB, free: 4.801 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.02011, allocations: 89.23 kB / 305.1 MB, free: 4.773 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02011, allocations: 0 / 305.1 MB, free: 4.773 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003055/0.02041, allocations: 46.05 kB / 305.1 MB, free: 4.77 MB / 266.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.0001019/0.02052, allocations: 71.8 kB / 305.2 MB, free: 4.703 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.02066, allocations: 60.92 kB / 305.3 MB, free: 4.688 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/0.02066, allocations: 2.969 kB / 305.3 MB, free: 4.688 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.019e-05/0.0207, allocations: 29.62 kB / 305.3 MB, free: 4.676 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.02105, allocations: 65.7 kB / 305.4 MB, free: 4.648 MB / 266.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: created linear, non-linear and system jacobian parts: time 0.001567/0.02262, allocations: 462 kB / 305.8 MB, free: 4.324 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.102e-05/0.02268, allocations: 92.34 kB / 305.9 MB, free: 4.234 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.02279, allocations: 20.48 kB / 305.9 MB, free: 4.219 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.02294, allocations: 90.88 kB / 306 MB, free: 4.164 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.02294, allocations: 0 / 306 MB, free: 4.164 MB / 266.7 MB Notification: Performance of Templates: time 0.00632/0.02926, allocations: 2.689 MB / 308.7 MB, free: 2.191 MB / 266.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_NormalInit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8920470611192286]