Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_in_Equilibrium.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.001204/0.001204, allocations: 77.14 kB / 20.66 MB, free: 3.84 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.0009809/0.0009809, allocations: 169 kB / 24.06 MB, free: 460 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.9533/0.9533, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.0536/0.0536, allocations: 12.76 MB / 273.8 MB, free: 132 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_in_Equilibrium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_in_Equilibrium") translateModel(Bodylight.SteadyStates.Examples.SimpleReaction_in_Equilibrium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_in_Equilibrium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 347.9 MB, free: 2.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.801e-05, allocations: 2.312 kB / 347.9 MB, free: 2.156 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.SteadyStates.Examples.SimpleReaction_in_Equilibrium): time 0.002804/0.002822, allocations: 2.82 MB / 350.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002886/0.005709, allocations: 2.769 MB / 353.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.005842, allocations: 11.88 kB / 353.5 MB, free: 12.53 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.005986, allocations: 47.52 kB / 353.6 MB, free: 12.48 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_in_Equilibrium.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_in_Equilibrium.A.Utilities.readReal' contains a call to impure function 'Bodylight.SteadyStates.Examples.SimpleReaction_in_Equilibrium.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_in_Equilibrium.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_in_Equilibrium.B.Utilities.readReal' contains a call to impure function 'Bodylight.SteadyStates.Examples.SimpleReaction_in_Equilibrium.B.Utilities.UnitConversions.findUnit'. Notification: Performance of NFTyping.typeBindings: time 0.000855/0.006842, allocations: 417.7 kB / 354 MB, free: 12.07 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_in_Equilibrium.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_in_Equilibrium.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_in_Equilibrium.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_in_Equilibrium.B.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. Notification: Performance of NFTyping.typeClassSections: time 0.0008627/0.007704, allocations: 446.5 kB / 354.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003119/0.008016, allocations: 338.3 kB / 354.7 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.858e-05/0.008115, allocations: 32.92 kB / 354.8 MB, free: 11.28 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.008249, allocations: 155.5 kB / 354.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.008453, allocations: 123.6 kB / 355 MB, free: 11 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.008475, allocations: 12 kB / 355.1 MB, free: 10.99 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.281e-05/0.008528, allocations: 27.98 kB / 355.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.177e-05/0.008579, allocations: 51.77 kB / 355.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.71e-05/0.008637, allocations: 71.78 kB / 355.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.00885, allocations: 211.2 kB / 355.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-06/0.008851, allocations: 0 / 355.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.008852, allocations: 0 / 355.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.008856, allocations: 0 / 355.4 MB, free: 10.64 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.0004922/0.009349, allocations: 0.5733 MB / 356 MB, free: 10.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.00938, allocations: 15.98 kB / 356 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.009492, allocations: 40.75 kB / 356 MB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.009738, allocations: 259.5 kB / 356.3 MB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.009755, allocations: 12.38 kB / 356.3 MB, free: 9.676 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.009776, allocations: 12.38 kB / 356.3 MB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.009905, allocations: 121.5 kB / 356.4 MB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.009917, allocations: 3.938 kB / 356.4 MB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.009928, allocations: 8 kB / 356.5 MB, free: 9.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.009933, allocations: 0 / 356.5 MB, free: 9.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.986e-05/0.009993, allocations: 39.89 kB / 356.5 MB, free: 9.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007149/0.01071, allocations: 0.6574 MB / 357.1 MB, free: 8.777 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.01094, allocations: 106 kB / 357.3 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.746e-05/0.01097, allocations: 27.42 kB / 357.3 MB, free: 8.613 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.01098, allocations: 4 kB / 357.3 MB, free: 8.609 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.011, allocations: 37.39 kB / 357.3 MB, free: 8.562 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.011, allocations: 0 / 357.3 MB, free: 8.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007982/0.0118, allocations: 308.3 kB / 357.6 MB, free: 8.246 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.01182, allocations: 81.05 kB / 357.7 MB, free: 8.148 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.01199, allocations: 326 kB / 358 MB, free: 7.812 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.012, allocations: 29.7 kB / 358 MB, free: 7.777 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.334e-05/0.01209, allocations: 222.8 kB / 358.3 MB, free: 7.555 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.01212, allocations: 51.64 kB / 358.3 MB, free: 7.504 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.804e-05/0.01217, allocations: 59.53 kB / 358.4 MB, free: 7.434 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.01229, allocations: 0.504 MB / 358.9 MB, free: 6.918 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.127e-05/0.01232, allocations: 20.45 kB / 358.9 MB, free: 6.898 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.821e-05/0.01241, allocations: 169.1 kB / 359.1 MB, free: 6.672 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.01255, allocations: 207 kB / 359.3 MB, free: 6.406 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01255, allocations: 3.938 kB / 359.3 MB, free: 6.402 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004794/0.01303, allocations: 280.9 kB / 359.5 MB, free: 6.113 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.01304, allocations: 8 kB / 359.5 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.01305, allocations: 8.375 kB / 359.6 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005688/0.01362, allocations: 167.1 kB / 359.7 MB, free: 5.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.01e-05/0.01368, allocations: 27.94 kB / 359.7 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.01588, allocations: 3.724 MB / 363.5 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.387e-05/0.01598, allocations: 15.92 kB / 363.5 MB, free: 1.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.01599, allocations: 12 kB / 363.5 MB, free: 1.922 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 8.729e-05/0.01608, allocations: 168.5 kB / 363.7 MB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/0.01612, allocations: 31.86 kB / 363.7 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/0.01616, allocations: 25.89 kB / 363.7 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.01616, allocations: 4 kB / 363.7 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01616, allocations: 0 / 363.7 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.01621, allocations: 35.8 kB / 363.8 MB, free: 1.648 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.01623, allocations: 7.938 kB / 363.8 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.852e-05/0.01631, allocations: 3.984 kB / 363.8 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.01634, allocations: 19.97 kB / 363.8 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002864/0.01663, allocations: 395.3 kB / 364.2 MB, free: 1.215 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002153/0.01684, allocations: 0.5096 MB / 364.7 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.547e-05/0.01688, allocations: 23.67 kB / 364.7 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.445e-05/0.01696, allocations: 211 kB / 364.9 MB, free: 464 kB / 330.7 MB Notification: Performance of Backend: time 1.6e-07/0.01696, allocations: 4 kB / 364.9 MB, free: 460 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006849/0.01765, allocations: 0.5386 MB / 365.5 MB, free: 15.87 MB / 346.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.001293/0.01894, allocations: 1.317 MB / 366.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of Templates: time 0.006107/0.02505, allocations: 4.661 MB / 371.4 MB, free: 9.883 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_in_Equilibrium.makefile [Timeout 660] (rm -f Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_in_Equilibrium.pipe ; mkfifo Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_in_Equilibrium.pipe ; head -c 1048576 < Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_in_Equilibrium.pipe >> ../files/Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_in_Equilibrium.sim & ./Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_in_Equilibrium -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.SteadyStates.Examples.SimpleReaction_in_Equilibrium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7195396977476776]