Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.SimpleReaction2.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.0/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Examples_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Examples_SimpleReaction2",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.0008093/0.0008093, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008364/0.0008364, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.179/0.179, allocations: 15.26 MB / 306.3 MB, free: 15.78 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002908, allocations: 15.92 kB / 371.6 MB, free: 3.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2561, allocations: 54.61 MB / 426.2 MB, free: 40.3 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo:3011:6-3011:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo:3011:6-3011:65: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(Chemical.Examples.SimpleReaction2): time 0.004164/0.2603, allocations: 4.989 MB / 431.2 MB, free: 39.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008311/0.2686, allocations: 10.59 MB / 441.8 MB, free: 32.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005602/0.2692, allocations: 21.66 kB / 441.8 MB, free: 32.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004862/0.2697, allocations: 239.5 kB / 442 MB, free: 32.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001591/0.2713, allocations: 0.8336 MB / 442.8 MB, free: 31.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002659/0.274, allocations: 1.222 MB / 444.1 MB, free: 30.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001241/0.2752, allocations: 1.15 MB / 445.2 MB, free: 30.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006017/0.2758, allocations: 0.5399 MB / 445.8 MB, free: 29.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004757/0.2763, allocations: 473.2 kB / 446.2 MB, free: 29.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005789/0.2769, allocations: 0.6021 MB / 446.8 MB, free: 29.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.313e-05/0.277, allocations: 55.84 kB / 446.9 MB, free: 29.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003112/0.2801, allocations: 1.155 MB / 448 MB, free: 29.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.2803, allocations: 200.9 kB / 448.2 MB, free: 29.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.2805, allocations: 200.8 kB / 448.4 MB, free: 29.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.2823, allocations: 1.849 MB / 450.3 MB, free: 28.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2823, allocations: 0 / 450.3 MB, free: 28.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2823, allocations: 0 / 450.3 MB, free: 28.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.2823, allocations: 0 / 450.3 MB, free: 28.42 MB / 350.1 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.00184/0.2841, allocations: 1.275 MB / 451.6 MB, free: 27.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.2842, allocations: 10.41 kB / 451.6 MB, free: 27.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001248/0.2843, allocations: 138.8 kB / 451.7 MB, free: 27.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007728/0.2851, allocations: 214.3 kB / 451.9 MB, free: 27.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.2857, allocations: 0.5284 MB / 452.4 MB, free: 27.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.267e-05/0.2858, allocations: 96.33 kB / 452.5 MB, free: 26.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.2859, allocations: 94.27 kB / 452.6 MB, free: 26.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.2872, allocations: 1.035 MB / 453.7 MB, free: 26.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.2872, allocations: 7.688 kB / 453.7 MB, free: 26.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-05/0.2873, allocations: 38.73 kB / 453.7 MB, free: 26.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.2873, allocations: 22.97 kB / 453.7 MB, free: 26.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.2889, allocations: 1.266 MB / 455 MB, free: 26.11 MB / 350.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.003765/0.2926, allocations: 3.458 MB / 458.4 MB, free: 23.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.2946, allocations: 1.505 MB / 460 MB, free: 23.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005904/0.2952, allocations: 437.5 kB / 460.4 MB, free: 23.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003896/0.2991, allocations: 3.963 MB / 464.3 MB, free: 19.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.2991, allocations: 38.17 kB / 464.4 MB, free: 19.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 1.934e-06/0.2992, allocations: 0 / 464.4 MB, free: 19.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.002841/0.302, allocations: 1.661 MB / 466 MB, free: 18.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.3021, allocations: 58.12 kB / 466.1 MB, free: 18.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005466/0.3026, allocations: 0.5061 MB / 466.6 MB, free: 18.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.3026, allocations: 41.22 kB / 466.6 MB, free: 18.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.3029, allocations: 464.5 kB / 467.1 MB, free: 18.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.303, allocations: 220.8 kB / 467.3 MB, free: 18.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.303, allocations: 20.16 kB / 467.3 MB, free: 17.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.238e-05/0.3031, allocations: 375.2 kB / 467.7 MB, free: 17.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.3035, allocations: 206.2 kB / 467.9 MB, free: 17.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/0.3039, allocations: 0.5327 MB / 468.4 MB, free: 17.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.3044, allocations: 291.1 kB / 468.7 MB, free: 16.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.3044, allocations: 2.75 kB / 468.7 MB, free: 16.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001288/0.3057, allocations: 0.8447 MB / 469.6 MB, free: 16.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.3057, allocations: 13.88 kB / 469.6 MB, free: 16.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.3057, allocations: 11.75 kB / 469.6 MB, free: 16.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/0.3058, allocations: 18.92 kB / 469.6 MB, free: 16.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008674/0.3066, allocations: 265.7 kB / 469.9 MB, free: 16.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-05/0.3067, allocations: 21.73 kB / 469.9 MB, free: 16.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004528/0.3071, allocations: 54.23 kB / 469.9 MB, free: 16.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.161e-05/0.3072, allocations: 50.69 kB / 470 MB, free: 16.54 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002619/0.3075, allocations: 232.8 kB / 470.2 MB, free: 16.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.77e-05/0.3076, allocations: 69.77 kB / 470.3 MB, free: 16.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.3089, allocations: 0.691 MB / 471 MB, free: 16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.3089, allocations: 7.5 kB / 471 MB, free: 16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3089, allocations: 3.938 kB / 471 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.3089, allocations: 3.422 kB / 471 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.3101, allocations: 0.7732 MB / 471.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.3101, allocations: 1.281 kB / 471.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006979/0.3108, allocations: 175.2 kB / 471.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.3108, allocations: 8.438 kB / 471.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.3109, allocations: 19.39 kB / 472 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.3109, allocations: 4.422 kB / 472 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.3109, allocations: 9.281 kB / 472 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.3122, allocations: 0.9371 MB / 472.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.3124, allocations: 188.7 kB / 473.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.414e-05/0.3125, allocations: 22.22 kB / 473.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.3128, allocations: 25.69 kB / 473.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.3129, allocations: 50.73 kB / 473.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/0.313, allocations: 29.3 kB / 473.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003515/0.3133, allocations: 335.8 kB / 473.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3133, allocations: 0 / 473.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001248/0.3146, allocations: 462.4 kB / 474 MB, free: 14.55 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00251/0.3171, allocations: 1.948 MB / 476 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009471/0.3181, allocations: 0.5945 MB / 476.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3181, allocations: 0 / 476.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003739/0.3185, allocations: 282.6 kB / 476.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007677/0.3192, allocations: 159.5 kB / 477 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005756/0.325, allocations: 4.417 MB / 481.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.3254, allocations: 0.9539 MB / 482.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006949/0.3261, allocations: 169.2 kB / 482.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004154/0.3266, allocations: 351.5 kB / 482.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3266, allocations: 0 / 482.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/0.3569, allocations: 19.49 MB / 0.4906 GB, free: 8.598 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.3571, allocations: 161.6 kB / 0.4907 GB, free: 8.355 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.091/2.448, allocations: 0 / 0.4907 GB, free: 8.355 MB / 366.1 MB (rm -f Chemical_Chemical.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Examples.SimpleReaction2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_SimpleReaction2_fmu --startTime=0 --stopTime=0.0001 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_SimpleReaction2.fmu > Chemical_Chemical.Examples.SimpleReaction2.pipe 2>&1) Environment - environmentSimulation: