Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.ExothermicReaction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.ExothermicReaction,fileNamePrefix="Chemical_Chemical_Examples_ExothermicReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.ExothermicReaction,fileNamePrefix="Chemical_Chemical_Examples_ExothermicReaction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 193.4 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1869/0.1869, allocations: 15.31 MB / 305.4 MB, free: 15.29 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 59.91 kB / 369.9 MB, free: 4.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09549/0.09667, allocations: 53.61 MB / 423.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.ExothermicReaction): time 0.009663/0.1064, allocations: 9.686 MB / 433.2 MB, free: 4.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1838/0.2902, allocations: 22.98 MB / 456.2 MB, free: 36.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.2915, allocations: 40.59 kB / 456.2 MB, free: 36.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.2926, allocations: 466.9 kB / 456.7 MB, free: 36.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004186/0.2968, allocations: 1.787 MB / 458.5 MB, free: 35.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00598/0.3028, allocations: 2.683 MB / 461.2 MB, free: 34.6 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002168/0.305, allocations: 2.501 MB / 463.7 MB, free: 33.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.3061, allocations: 1.423 MB / 465.1 MB, free: 32.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009096/0.307, allocations: 1.258 MB / 466.4 MB, free: 32.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.3081, allocations: 1.376 MB / 467.7 MB, free: 31.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002172/0.3083, allocations: 217.8 kB / 467.9 MB, free: 31.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006403/0.3147, allocations: 2.661 MB / 470.6 MB, free: 31.22 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004286/0.3152, allocations: 0.5238 MB / 471.1 MB, free: 30.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001525/0.3167, allocations: 1.101 MB / 472.2 MB, free: 30.26 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009425/0.3262, allocations: 4.796 MB / 477 MB, free: 28.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3262, allocations: 0 / 477 MB, free: 28.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3262, allocations: 0 / 477 MB, free: 28.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001147/0.3263, allocations: 0 / 477 MB, free: 28.23 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.005905/0.3322, allocations: 2.669 MB / 479.7 MB, free: 26.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3323, allocations: 9.156 kB / 479.7 MB, free: 26.68 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002462/0.3325, allocations: 252 kB / 479.9 MB, free: 26.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.3344, allocations: 411.7 kB / 480.3 MB, free: 26.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.3358, allocations: 0.9329 MB / 481.3 MB, free: 25.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.336, allocations: 189.3 kB / 481.5 MB, free: 25.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00026/0.3363, allocations: 193.3 kB / 481.7 MB, free: 25.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/0.3395, allocations: 2.08 MB / 483.7 MB, free: 24.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.534e-05/0.3396, allocations: 1.594 kB / 483.7 MB, free: 24.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.3397, allocations: 70.77 kB / 483.8 MB, free: 24.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.594e-05/0.3398, allocations: 44.09 kB / 483.8 MB, free: 24.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003847/0.3436, allocations: 2.583 MB / 486.4 MB, free: 24 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009478/0.3531, allocations: 6.357 MB / 492.8 MB, free: 20.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004596/0.3577, allocations: 2.534 MB / 495.3 MB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.3589, allocations: 0.8535 MB / 496.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009065/0.3679, allocations: 8.108 MB / 0.4925 GB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.368, allocations: 49.23 kB / 0.4925 GB, free: 12.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 2.786e-06/0.368, allocations: 2.562 kB / 0.4925 GB, free: 12.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=150): time 0.0258/0.3938, allocations: 6.167 MB / 0.4985 GB, free: 7.727 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.3939, allocations: 94.42 kB / 0.4986 GB, free: 7.617 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000931/0.3948, allocations: 0.9451 MB / 0.4996 GB, free: 6.656 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.395, allocations: 49.7 kB / 0.4996 GB, free: 6.602 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.3953, allocations: 0.8404 MB / 0.5004 GB, free: 5.746 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002825/0.3956, allocations: 0.5083 MB / 0.5009 GB, free: 5.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000398/0.396, allocations: 371.3 kB / 0.5013 GB, free: 4.859 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.361e-05/0.396, allocations: 301.1 kB / 0.5016 GB, free: 4.562 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007416/0.3968, allocations: 0.5311 MB / 0.5021 GB, free: 4.027 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009748/0.3977, allocations: 1.247 MB / 0.5033 GB, free: 2.438 MB / 366.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start (fixedTemperature.T = solution_at_constant_temperature.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002037/0.3998, allocations: 2.041 MB / 0.5053 GB, free: 44 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.3998, allocations: 8 kB / 0.5053 GB, free: 36 kB / 366.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007913/0.4077, allocations: 2.545 MB / 0.5078 GB, free: 13.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.4078, allocations: 14.03 kB / 0.5078 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/0.4078, allocations: 24 kB / 0.5078 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005782/0.4136, allocations: 0.7057 MB / 0.5085 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/0.4155, allocations: 0.5265 MB / 0.509 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/0.4268, allocations: 8.258 MB / 0.5171 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.4285, allocations: 115.8 kB / 0.5172 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/0.4287, allocations: 112 kB / 0.5173 GB, free: 3.145 MB / 382.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (241): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,6,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006662/0.4294, allocations: 385 kB / 0.5177 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/0.4296, allocations: 142.2 kB / 0.5178 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009013/0.4387, allocations: 2.477 MB / 0.5202 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.4387, allocations: 12 kB / 0.5202 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.4387, allocations: 4 kB / 0.5202 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/0.4387, allocations: 11.91 kB / 0.5202 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005454/0.4442, allocations: 2.524 MB / 0.5227 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.4442, allocations: 15.97 kB / 0.5227 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/0.4456, allocations: 303.6 kB / 0.523 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00674/0.4524, allocations: 0.7571 MB / 0.5238 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001721/0.4526, allocations: 43.92 kB / 0.5238 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01147/0.464, allocations: 9.494 MB / 0.5331 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.4641, allocations: 7.969 kB / 0.5331 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009285/0.4734, allocations: 2.819 MB / 0.5358 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000522/0.4739, allocations: 195.6 kB / 0.536 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/0.4741, allocations: 28 kB / 0.536 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008829/0.475, allocations: 67.8 kB / 0.5361 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00031/0.4754, allocations: 120.9 kB / 0.5362 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.4755, allocations: 59.92 kB / 0.5363 GB, free: 14.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007563/0.4762, allocations: 0.6264 MB / 0.5369 GB, free: 14.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4762, allocations: 0 / 0.5369 GB, free: 14.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00318/0.4794, allocations: 1.042 MB / 0.5379 GB, free: 13.07 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (A1.logn,B1.logn,H2O.logn,A.logn,B.logn,H2O1.amountOfBonds,H2O1.logn) * 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 (137): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01137/0.4908, allocations: 4.36 MB / 0.5422 GB, free: 8.637 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004278/0.4951, allocations: 2.154 MB / 0.5443 GB, free: 6.434 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.4951, allocations: 4.188 kB / 0.5443 GB, free: 6.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002014/0.4972, allocations: 1.371 MB / 0.5456 GB, free: 5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.499, allocations: 336.2 kB / 0.5459 GB, free: 4.684 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02883/0.5278, allocations: 15.16 MB / 0.5607 GB, free: 4.211 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007893/0.5287, allocations: 1.267 MB / 0.562 GB, free: 2.918 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001448/0.5301, allocations: 332 kB / 0.5623 GB, free: 2.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008662/0.531, allocations: 0.7179 MB / 0.563 GB, free: 1.871 MB / 430.1 MB Notification: Performance of SimCode: time 8.01e-07/0.531, allocations: 0 / 0.563 GB, free: 1.871 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2555/0.7865, allocations: 50 MB / 0.6118 GB, free: 136.3 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/0.7867, allocations: 222.3 kB / 0.612 GB, free: 136 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.294/4.08, allocations: 0 / 0.612 GB, free: 136 MB / 462.1 MB (rm -f Chemical_Chemical.Examples.ExothermicReaction.pipe ; mkfifo Chemical_Chemical.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.ExothermicReaction.pipe >> ../files/Chemical_Chemical.Examples.ExothermicReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_ExothermicReaction_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_ExothermicReaction.fmu > Chemical_Chemical.Examples.ExothermicReaction.pipe 2>&1)