Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction2.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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) 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) Running command: translateModel(Physiolibrary.Chemical.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction2") translateModel(Physiolibrary.Chemical.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 239.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 105 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3727/0.3727, allocations: 36.67 MB / 376.7 MB, free: 41.5 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 67.89 kB / 446.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1114, allocations: 58.92 MB / 0.4935 GB, free: 0.8477 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Chemical.mo:4671:7-4671:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Chemical.mo:4671:7-4671:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.SimpleReaction2): time 0.2337/0.3451, allocations: 22.39 MB / 0.5154 GB, free: 34.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.3555, allocations: 11.51 MB / 0.5266 GB, free: 26.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009582/0.3565, allocations: 28.31 kB / 0.5266 GB, free: 26.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006449/0.3572, allocations: 219.5 kB / 0.5268 GB, free: 26.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0021/0.3593, allocations: 0.8225 MB / 0.5276 GB, free: 25.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003424/0.3627, allocations: 1.317 MB / 0.5289 GB, free: 25.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001292/0.364, allocations: 1.223 MB / 0.5301 GB, free: 24.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006771/0.3647, allocations: 0.609 MB / 0.5307 GB, free: 24.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006124/0.3654, allocations: 0.57 MB / 0.5313 GB, free: 24.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007043/0.3661, allocations: 0.6533 MB / 0.5319 GB, free: 23.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.3662, allocations: 70.12 kB / 0.532 GB, free: 23.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003312/0.3695, allocations: 1.213 MB / 0.5332 GB, free: 23.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002039/0.3697, allocations: 232.4 kB / 0.5334 GB, free: 23.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004507/0.3702, allocations: 0.5147 MB / 0.5339 GB, free: 23.19 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00352/0.3737, allocations: 2.381 MB / 0.5362 GB, free: 22.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3738, allocations: 1.125 kB / 0.5362 GB, free: 22.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.3738, allocations: 0 / 0.5362 GB, free: 22.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.3738, allocations: 7.938 kB / 0.5362 GB, free: 22.2 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002398/0.3762, allocations: 1.481 MB / 0.5377 GB, free: 21.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.3763, allocations: 16.67 kB / 0.5377 GB, free: 21.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008252/0.3771, allocations: 207.3 kB / 0.5379 GB, free: 21.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007451/0.3778, allocations: 0.5559 MB / 0.5384 GB, free: 20.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.663e-05/0.3779, allocations: 94.86 kB / 0.5385 GB, free: 20.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.3781, allocations: 98.94 kB / 0.5386 GB, free: 20.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.3796, allocations: 1.049 MB / 0.5396 GB, free: 20.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.3796, allocations: 0 / 0.5396 GB, free: 20.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-05/0.3797, allocations: 35.72 kB / 0.5397 GB, free: 20.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.3797, allocations: 24.72 kB / 0.5397 GB, free: 20.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.3816, allocations: 1.275 MB / 0.5409 GB, free: 19.88 MB / 378.7 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.004547/0.3862, allocations: 3.487 MB / 0.5443 GB, free: 17.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/0.3882, allocations: 1.539 MB / 0.5458 GB, free: 16.97 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005829/0.3888, allocations: 444.5 kB / 0.5463 GB, free: 16.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004315/0.3932, allocations: 4.063 MB / 0.5502 GB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.3932, allocations: 38.03 kB / 0.5503 GB, free: 13.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=56): time 2.585e-06/0.3932, allocations: 7.938 kB / 0.5503 GB, free: 13.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.002958/0.3962, allocations: 1.678 MB / 0.5519 GB, free: 11.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.3962, allocations: 63.44 kB / 0.552 GB, free: 11.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004509/0.3967, allocations: 0.5043 MB / 0.5525 GB, free: 11.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.3967, allocations: 41.7 kB / 0.5525 GB, free: 11.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.3969, allocations: 461.6 kB / 0.5529 GB, free: 10.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.397, allocations: 217.5 kB / 0.5531 GB, free: 10.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.3972, allocations: 175.7 kB / 0.5533 GB, free: 10.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.978e-05/0.3973, allocations: 379.2 kB / 0.5537 GB, free: 9.891 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/0.3976, allocations: 209.2 kB / 0.5539 GB, free: 9.711 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/0.3981, allocations: 0.5453 MB / 0.5544 GB, free: 9.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008355/0.3989, allocations: 0.8184 MB / 0.5552 GB, free: 8.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3989, allocations: 4 kB / 0.5552 GB, free: 8.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001099/0.4, allocations: 0.8612 MB / 0.5561 GB, free: 7.312 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4001, allocations: 12 kB / 0.5561 GB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.4001, allocations: 8 kB / 0.5561 GB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.4001, allocations: 23.94 kB / 0.5561 GB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.4012, allocations: 289.9 kB / 0.5564 GB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/0.4012, allocations: 23.12 kB / 0.5564 GB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005019/0.4017, allocations: 58.17 kB / 0.5564 GB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.343e-05/0.4018, allocations: 51.47 kB / 0.5565 GB, free: 6.914 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (115): * Single equations (assignments): 115 * 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 0.0002483/0.402, allocations: 240.4 kB / 0.5567 GB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-05/0.4021, allocations: 63.16 kB / 0.5568 GB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.4034, allocations: 0.7034 MB / 0.5575 GB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.4034, allocations: 8.656 kB / 0.5575 GB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.4034, allocations: 0 / 0.5575 GB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/0.4034, allocations: 6.984 kB / 0.5575 GB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009126/0.4043, allocations: 0.7726 MB / 0.5582 GB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4044, allocations: 0 / 0.5582 GB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008969/0.4053, allocations: 207.9 kB / 0.5584 GB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.4053, allocations: 4.656 kB / 0.5584 GB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-05/0.4053, allocations: 29.8 kB / 0.5585 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.4053, allocations: 0 / 0.5585 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.4053, allocations: 4.703 kB / 0.5585 GB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005782/0.4111, allocations: 3.981 MB / 0.5624 GB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.4114, allocations: 193.7 kB / 0.5626 GB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.992e-05/0.4114, allocations: 12 kB / 0.5626 GB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.4117, allocations: 32.5 kB / 0.5626 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.4119, allocations: 50.22 kB / 0.5626 GB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/0.4119, allocations: 24 kB / 0.5627 GB, free: 1.082 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003368/0.4122, allocations: 341.7 kB / 0.563 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4123, allocations: 4 kB / 0.563 GB, free: 0.793 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001476/0.4137, allocations: 0.5341 MB / 0.5635 GB, free: 276 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (solution.temperature,A.logn,B.logn,C.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 (71): * Single equations (assignments): 71 * 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.001038/0.4148, allocations: 0.5707 MB / 0.5641 GB, free: 15.74 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.4158, allocations: 0.6053 MB / 0.5647 GB, free: 15.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4158, allocations: 3.938 kB / 0.5647 GB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004222/0.4163, allocations: 285.2 kB / 0.5649 GB, free: 14.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008598/0.4171, allocations: 149.8 kB / 0.5651 GB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/0.4202, allocations: 2.254 MB / 0.5673 GB, free: 12.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/0.4209, allocations: 0.9691 MB / 0.5682 GB, free: 11.75 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008255/0.4217, allocations: 179.8 kB / 0.5684 GB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.422, allocations: 103.9 kB / 0.5685 GB, free: 11.5 MB / 394.7 MB Notification: Performance of SimCode: time 8.82e-07/0.422, allocations: 4 kB / 0.5685 GB, free: 11.5 MB / 394.7 MB Notification: Performance of Templates: time 0.02435/0.4463, allocations: 14.86 MB / 0.583 GB, free: 13.65 MB / 410.7 MB make -j1 -f Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction2.makefile (rm -f Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction2.pipe ; mkfifo Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction2.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction2.pipe >> ../files/Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction2.sim & ./Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction2.pipe 2>&1)