Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.SimpleReaction.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.001384/0.001384, allocations: 107.3 kB / 16.46 MB, free: 6.508 MB / 14.72 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.001663/0.001663, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 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 1.527/1.527, allocations: 230.6 MB / 252.8 MB, free: 9.086 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1587/0.1587, allocations: 23.85 MB / 332.7 MB, free: 12.36 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.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: "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 59.91 kB / 466 MB, free: 10.1 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3842, allocations: 59.83 MB / 0.5135 GB, free: 8.887 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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(Chemical.Obsolete.Examples.SimpleReaction): time 0.04209/0.4263, allocations: 25.02 MB / 0.5379 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.4385, allocations: 8.034 MB / 0.5457 GB, free: 8.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007356/0.4392, allocations: 15.88 kB / 0.5458 GB, free: 8.109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007014/0.4399, allocations: 190.2 kB / 0.5459 GB, free: 7.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002114/0.442, allocations: 0.6906 MB / 0.5466 GB, free: 7.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003089/0.4451, allocations: 1.034 MB / 0.5476 GB, free: 6.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.4465, allocations: 0.9411 MB / 0.5485 GB, free: 5.691 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006214/0.4471, allocations: 439.8 kB / 0.549 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005219/0.4476, allocations: 464.8 kB / 0.5494 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007238/0.4484, allocations: 0.5015 MB / 0.5499 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.4485, allocations: 76 kB / 0.55 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/0.451, allocations: 0.8778 MB / 0.5508 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.4512, allocations: 189.8 kB / 0.551 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004247/0.4516, allocations: 416.3 kB / 0.5514 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003121/0.4548, allocations: 1.826 MB / 0.5532 GB, free: 1.699 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4548, allocations: 0 / 0.5532 GB, free: 1.699 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4548, allocations: 4.734 kB / 0.5532 GB, free: 1.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.059e-05/0.4548, allocations: 4 kB / 0.5532 GB, free: 1.691 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002508/0.4573, allocations: 1.191 MB / 0.5544 GB, free: 0.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.4573, allocations: 8.031 kB / 0.5544 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001728/0.4575, allocations: 110.9 kB / 0.5545 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007242/0.4582, allocations: 158 kB / 0.5546 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008535/0.4591, allocations: 484.4 kB / 0.5551 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.4592, allocations: 81.02 kB / 0.5552 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.4594, allocations: 76.27 kB / 0.5552 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.4609, allocations: 0.7802 MB / 0.556 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.4609, allocations: 3.938 kB / 0.556 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.928e-05/0.461, allocations: 28 kB / 0.556 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.461, allocations: 16 kB / 0.556 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.4626, allocations: 0.8776 MB / 0.5569 GB, free: 14.24 MB / 414.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.004398/0.467, allocations: 2.564 MB / 0.5594 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.4687, allocations: 0.974 MB / 0.5604 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000485/0.4692, allocations: 278.4 kB / 0.5606 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003977/0.4732, allocations: 2.84 MB / 0.5634 GB, free: 7.539 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.4732, allocations: 42.5 kB / 0.5634 GB, free: 7.488 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 1.893e-06/0.4732, allocations: 0 / 0.5634 GB, free: 7.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002754/0.476, allocations: 1.237 MB / 0.5646 GB, free: 6.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.476, allocations: 59.41 kB / 0.5647 GB, free: 6.129 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005327/0.4766, allocations: 421.7 kB / 0.5651 GB, free: 5.715 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.4766, allocations: 33.7 kB / 0.5651 GB, free: 5.676 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.4769, allocations: 376.2 kB / 0.5655 GB, free: 5.301 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.4771, allocations: 170.6 kB / 0.5657 GB, free: 5.133 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.4773, allocations: 126.6 kB / 0.5658 GB, free: 5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.4775, allocations: 366.8 kB / 0.5661 GB, free: 4.633 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.4778, allocations: 149.9 kB / 0.5663 GB, free: 4.488 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005042/0.4783, allocations: 388.3 kB / 0.5666 GB, free: 4.004 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008786/0.4792, allocations: 0.5747 MB / 0.5672 GB, free: 3.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.4792, allocations: 4 kB / 0.5672 GB, free: 3.316 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001109/0.4803, allocations: 0.6171 MB / 0.5678 GB, free: 2.691 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.4803, allocations: 11.94 kB / 0.5678 GB, free: 2.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.4803, allocations: 12.12 kB / 0.5678 GB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.4803, allocations: 8 kB / 0.5678 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007799/0.4811, allocations: 207.7 kB / 0.568 GB, free: 2.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/0.4811, allocations: 11.94 kB / 0.568 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.4815, allocations: 24 kB / 0.5681 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.439e-05/0.4815, allocations: 35.98 kB / 0.5681 GB, free: 2.387 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (83): * Single equations (assignments): 83 * 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.0002655/0.4818, allocations: 205.5 kB / 0.5683 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-05/0.4819, allocations: 55.61 kB / 0.5684 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.4829, allocations: 0.5013 MB / 0.5688 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.4829, allocations: 8 kB / 0.5689 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4829, allocations: 0 / 0.5689 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.4829, allocations: 3.984 kB / 0.5689 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008829/0.4838, allocations: 0.6238 MB / 0.5695 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4838, allocations: 0 / 0.5695 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006365/0.4845, allocations: 139.9 kB / 0.5696 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/0.4845, allocations: 11.92 kB / 0.5696 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.334e-05/0.4845, allocations: 23.88 kB / 0.5696 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.4845, allocations: 0 / 0.5696 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.4845, allocations: 8.125 kB / 0.5696 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.4857, allocations: 0.719 MB / 0.5703 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.4859, allocations: 160.7 kB / 0.5705 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.097e-05/0.486, allocations: 11.94 kB / 0.5705 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.4862, allocations: 19.94 kB / 0.5705 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.4863, allocations: 36.39 kB / 0.5706 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/0.4864, allocations: 19.98 kB / 0.5706 GB, free: 15.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003767/0.4867, allocations: 279.1 kB / 0.5708 GB, free: 15.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4867, allocations: 0 / 0.5708 GB, free: 15.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00122/0.488, allocations: 335.1 kB / 0.5712 GB, free: 15.12 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.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 (53): * Single equations (assignments): 53 * 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.002475/0.4904, allocations: 1.602 MB / 0.5727 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007931/0.4912, allocations: 414.7 kB / 0.5731 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4912, allocations: 7.938 kB / 0.5731 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.4916, allocations: 186.4 kB / 0.5733 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007415/0.4923, allocations: 129.4 kB / 0.5734 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007156/0.4995, allocations: 4.818 MB / 0.5781 GB, free: 7.629 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/0.5, allocations: 0.8861 MB / 0.579 GB, free: 6.715 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004159/0.5004, allocations: 116.5 kB / 0.5791 GB, free: 6.598 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003798/0.5008, allocations: 255.3 kB / 0.5794 GB, free: 6.348 MB / 430.1 MB Notification: Performance of SimCode: time 6.12e-07/0.5008, allocations: 0 / 0.5794 GB, free: 6.348 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05236/0.5532, allocations: 15.51 MB / 0.5945 GB, free: 6.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.405/9.958, allocations: 15.86 kB / 0.5945 GB, free: 6.914 MB / 446.1 MB " [Timeout remaining time 650] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_SimpleReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_SimpleReaction.fmu > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.798748194938526] Failed to read output from testmodel.py, exit status != 0: 10.039668540935963 10.065465098 9.605908935 Calling exit ...