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.0008725/0.0008725, allocations: 77.95 kB / 20.67 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.0008932/0.0008932, allocations: 169.4 kB / 24.07 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.8894/0.8894, 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.05307/0.05307, allocations: 12.76 MB / 273.8 MB, free: 140 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.382e-06/1.382e-06, allocations: 0 / 348 MB, free: 2.043 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.372e-05, allocations: 2.312 kB / 348 MB, free: 2.039 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.SteadyStates.Examples.SimpleReaction_InitSteadyState): time 0.003711/0.003725, allocations: 2.865 MB / 350.9 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004248/0.007973, allocations: 2.773 MB / 353.7 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.008143, allocations: 11.88 kB / 353.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.008315, allocations: 47.52 kB / 353.7 MB, free: 12.31 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.001187/0.009502, allocations: 409.7 kB / 354.1 MB, free: 11.91 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.001005/0.01051, allocations: 450.5 kB / 354.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006392/0.01115, allocations: 338.3 kB / 354.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.01127, allocations: 32.92 kB / 354.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.01151, allocations: 163.5 kB / 355.1 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.01178, allocations: 123.6 kB / 355.2 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.01181, allocations: 16 kB / 355.2 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.247e-05/0.01187, allocations: 16 kB / 355.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.088e-05/0.01194, allocations: 55.75 kB / 355.3 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.634e-05/0.01203, allocations: 79.77 kB / 355.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.01231, allocations: 207.2 kB / 355.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.01231, allocations: 0 / 355.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01231, allocations: 0 / 355.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.01232, 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.0006666/0.01298, allocations: 0.5772 MB / 356.2 MB, free: 9.848 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.01302, allocations: 11.98 kB / 356.2 MB, free: 9.836 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.01317, allocations: 44.75 kB / 356.2 MB, free: 9.793 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.01352, allocations: 259.5 kB / 356.5 MB, free: 9.508 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.01354, allocations: 12.36 kB / 356.5 MB, free: 9.496 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.01358, allocations: 16.38 kB / 356.5 MB, free: 9.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.01373, allocations: 86.19 kB / 356.6 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.01375, allocations: 3.938 kB / 356.6 MB, free: 9.387 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.01376, allocations: 8 kB / 356.6 MB, free: 9.379 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.01377, allocations: 4 kB / 356.6 MB, free: 9.375 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.981e-05/0.01387, allocations: 39.95 kB / 356.6 MB, free: 9.336 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.0144, allocations: 443.8 kB / 357.1 MB, free: 8.875 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.945e-05/0.01449, allocations: 71.05 kB / 357.2 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.832e-05/0.01452, allocations: 27.67 kB / 357.2 MB, free: 8.762 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.01453, allocations: 0 / 357.2 MB, free: 8.762 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.01455, allocations: 45.42 kB / 357.2 MB, free: 8.707 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.01455, allocations: 0 / 357.2 MB, free: 8.707 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.000147/0.0147, allocations: 109.4 kB / 357.3 MB, free: 8.594 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.936e-05/0.01472, allocations: 51.41 kB / 357.4 MB, free: 8.531 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.01487, allocations: 300.1 kB / 357.7 MB, free: 8.223 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.01488, allocations: 29.7 kB / 357.7 MB, free: 8.188 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.627e-05/0.01495, allocations: 207 kB / 357.9 MB, free: 7.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.01497, allocations: 39.62 kB / 357.9 MB, free: 7.941 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.01502, allocations: 51.3 kB / 358 MB, free: 7.883 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.01513, allocations: 0.504 MB / 358.5 MB, free: 7.367 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.391e-05/0.01515, allocations: 15.98 kB / 358.5 MB, free: 7.352 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.967e-05/0.0152, allocations: 82.02 kB / 358.6 MB, free: 7.246 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.338e-05/0.01529, allocations: 105.1 kB / 358.7 MB, free: 7.121 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.01529, allocations: 7.875 kB / 358.7 MB, free: 7.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002979/0.01559, allocations: 185 kB / 358.9 MB, free: 6.922 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.0156, allocations: 4 kB / 358.9 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.0156, allocations: 4 kB / 358.9 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003161/0.01592, allocations: 67.59 kB / 359 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.01598, allocations: 31.92 kB / 359 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.01711, allocations: 1.881 MB / 360.9 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/0.01718, allocations: 19.89 kB / 360.9 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.01718, allocations: 4 kB / 360.9 MB, free: 4.793 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 6.878e-05/0.01725, allocations: 160.6 kB / 361 MB, free: 4.625 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.01728, allocations: 31.81 kB / 361.1 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.01731, allocations: 29.7 kB / 361.1 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.01731, allocations: 0 / 361.1 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01731, allocations: 0 / 361.1 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.01735, allocations: 43.7 kB / 361.2 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.01737, allocations: 0 / 361.2 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.176e-05/0.01742, allocations: 4 kB / 361.2 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.01743, allocations: 11.98 kB / 361.2 MB, free: 4.508 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001686/0.0176, allocations: 212.8 kB / 361.4 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001854/0.01779, allocations: 379.4 kB / 361.7 MB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.941e-05/0.01782, allocations: 27.72 kB / 361.8 MB, free: 3.871 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.01793, allocations: 201.1 kB / 362 MB, free: 3.672 MB / 330.7 MB Notification: Performance of Backend: time 3.31e-07/0.01793, allocations: 0 / 362 MB, free: 3.672 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004363/0.01836, allocations: 346.2 kB / 362.3 MB, free: 3.305 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.001174/0.01954, allocations: 1.249 MB / 363.6 MB, free: 2.008 MB / 330.7 MB Notification: Performance of Templates: time 0.004617/0.02415, allocations: 3.431 MB / 367 MB, free: 14.63 MB / 346.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: 2.492188598960638]