Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.00145/0.00145, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001827/0.001827, allocations: 213.3 kB / 22.24 MB, free: 4.859 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1455/0.1455, allocations: 23.98 MB / 336.4 MB, free: 10.89 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Obsolete_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction,fileNamePrefix="Chemical_master_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.002091/0.002091, allocations: 67.91 kB / 471.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3948, allocations: 59.9 MB / 0.5187 GB, free: 9.457 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.07772/0.4725, allocations: 24.82 MB / 0.543 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.4843, allocations: 7.055 MB / 0.5499 GB, free: 8.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009195/0.4852, allocations: 11.88 kB / 0.5499 GB, free: 8.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000793/0.486, allocations: 181.7 kB / 0.55 GB, free: 7.941 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00263/0.4887, allocations: 0.6942 MB / 0.5507 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004226/0.4929, allocations: 1.053 MB / 0.5517 GB, free: 6.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001897/0.4948, allocations: 0.9355 MB / 0.5527 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006719/0.4955, allocations: 423.9 kB / 0.5531 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005939/0.4961, allocations: 465.7 kB / 0.5535 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007705/0.4968, allocations: 452.6 kB / 0.5539 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.497, allocations: 80 kB / 0.554 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002999/0.5, allocations: 0.8253 MB / 0.5548 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.5002, allocations: 194.3 kB / 0.555 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004517/0.5007, allocations: 355.2 kB / 0.5553 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003951/0.5046, allocations: 1.816 MB / 0.5571 GB, free: 1.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5046, allocations: 0 / 0.5571 GB, free: 1.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5046, allocations: 0 / 0.5571 GB, free: 1.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.5047, allocations: 4 kB / 0.5571 GB, free: 1.828 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.0024/0.5071, allocations: 1.112 MB / 0.5582 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.5071, allocations: 12.59 kB / 0.5582 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001907/0.5073, allocations: 110.8 kB / 0.5583 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007013/0.508, allocations: 153.9 kB / 0.5585 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009027/0.5089, allocations: 423 kB / 0.5589 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.509, allocations: 110.7 kB / 0.559 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.5092, allocations: 64.45 kB / 0.559 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.5106, allocations: 0.7838 MB / 0.5598 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.5106, allocations: 0.6094 kB / 0.5598 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.03e-05/0.5107, allocations: 28 kB / 0.5598 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.5107, allocations: 16 kB / 0.5599 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.5122, allocations: 0.8658 MB / 0.5607 GB, free: 14.52 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.004138/0.5163, allocations: 2.086 MB / 0.5627 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.5179, allocations: 0.8045 MB / 0.5635 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004784/0.5184, allocations: 279.2 kB / 0.5638 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003513/0.5219, allocations: 1.516 MB / 0.5653 GB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/0.522, allocations: 38.56 kB / 0.5653 GB, free: 9.867 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.555e-06/0.522, allocations: 0 / 0.5653 GB, free: 9.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002541/0.5245, allocations: 1.166 MB / 0.5664 GB, free: 8.668 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.5246, allocations: 59.39 kB / 0.5665 GB, free: 8.598 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005368/0.5251, allocations: 433.7 kB / 0.5669 GB, free: 8.168 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.5252, allocations: 33.7 kB / 0.5669 GB, free: 8.129 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/0.5255, allocations: 380.1 kB / 0.5673 GB, free: 7.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.5257, allocations: 170.5 kB / 0.5675 GB, free: 7.582 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.5258, allocations: 126.6 kB / 0.5676 GB, free: 7.453 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.5261, allocations: 358.8 kB / 0.5679 GB, free: 7.094 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.5264, allocations: 149.9 kB / 0.5681 GB, free: 6.945 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005529/0.5269, allocations: 392.3 kB / 0.5685 GB, free: 6.457 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008997/0.5278, allocations: 0.5786 MB / 0.569 GB, free: 5.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.5278, allocations: 4 kB / 0.569 GB, free: 5.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001039/0.5288, allocations: 0.6055 MB / 0.5696 GB, free: 5.152 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.5289, allocations: 15.94 kB / 0.5696 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.5289, allocations: 11.94 kB / 0.5696 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.5289, allocations: 12 kB / 0.5697 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007315/0.5297, allocations: 203.7 kB / 0.5698 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-05/0.5297, allocations: 19.92 kB / 0.5699 GB, free: 4.895 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.53, allocations: 24 kB / 0.5699 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.5301, allocations: 40 kB / 0.5699 GB, free: 4.832 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.0003289/0.5305, allocations: 205.6 kB / 0.5701 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.5306, allocations: 59.56 kB / 0.5702 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.5316, allocations: 0.4934 MB / 0.5707 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.5317, allocations: 8 kB / 0.5707 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5317, allocations: 0 / 0.5707 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.5317, allocations: 3.984 kB / 0.5707 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000927/0.5326, allocations: 0.541 MB / 0.5712 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.5326, allocations: 12.11 kB / 0.5712 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000578/0.5332, allocations: 135.9 kB / 0.5713 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.5332, allocations: 11.88 kB / 0.5714 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.5332, allocations: 16 kB / 0.5714 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.5332, allocations: 4 kB / 0.5714 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5332, allocations: 0 / 0.5714 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.5345, allocations: 0.7225 MB / 0.5721 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.5347, allocations: 91.62 kB / 0.5722 GB, free: 2.438 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.694e-05/0.5347, allocations: 15.88 kB / 0.5722 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.5349, allocations: 15.98 kB / 0.5722 GB, free: 2.406 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/0.535, allocations: 36.38 kB / 0.5722 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-05/0.5351, allocations: 20 kB / 0.5722 GB, free: 2.352 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003428/0.5354, allocations: 279.1 kB / 0.5725 GB, free: 2.078 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5354, allocations: 0 / 0.5725 GB, free: 2.078 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00124/0.5367, allocations: 331.1 kB / 0.5728 GB, free: 1.754 MB / 414.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.002277/0.5389, allocations: 1.598 MB / 0.5744 GB, free: 112 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008118/0.5398, allocations: 414.1 kB / 0.5748 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5398, allocations: 0.625 kB / 0.5748 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.5401, allocations: 190.4 kB / 0.575 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007122/0.5408, allocations: 133.2 kB / 0.5751 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007005/0.5478, allocations: 4.824 MB / 0.5798 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.5482, allocations: 288.1 kB / 0.5801 GB, free: 9.957 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004499/0.5486, allocations: 124.5 kB / 0.5802 GB, free: 9.832 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004051/0.549, allocations: 247.3 kB / 0.5804 GB, free: 9.59 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.549, allocations: 0 / 0.5804 GB, free: 9.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0505/0.5995, allocations: 16.51 MB / 0.5966 GB, free: 9.273 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.48, allocations: 18.2 kB / 0.5966 GB, free: 9.258 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_SimpleReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_SimpleReaction.fmu > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.357926955912262] Failed to read output from testmodel.py, exit status != 0: 12.598057391121984 12.614706742 12.106816536 Calling exit ...