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.001382/0.001382, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001605/0.001605, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.539/1.539, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.166/0.166, allocations: 23.85 MB / 333.4 MB, free: 1.289 MB / 254.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction",fmuType="cs",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.002026/0.002026, allocations: 63.73 kB / 466.7 MB, free: 30.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1222, allocations: 59.83 MB / 0.5142 GB, free: 12.97 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.03977/0.162, allocations: 24.83 MB / 0.5384 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.1736, allocations: 8.025 MB / 0.5463 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007674/0.1744, allocations: 15.88 kB / 0.5463 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006588/0.1751, allocations: 190.5 kB / 0.5465 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.1771, allocations: 0.6864 MB / 0.5471 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002887/0.18, allocations: 1.045 MB / 0.5481 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001463/0.1814, allocations: 0.9355 MB / 0.5491 GB, free: 9.234 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006448/0.1821, allocations: 441.9 kB / 0.5495 GB, free: 8.793 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005011/0.1826, allocations: 462.8 kB / 0.5499 GB, free: 8.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000677/0.1833, allocations: 0.4943 MB / 0.5504 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.1834, allocations: 80 kB / 0.5505 GB, free: 7.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.1856, allocations: 0.8737 MB / 0.5513 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002299/0.1858, allocations: 199.3 kB / 0.5515 GB, free: 6.695 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004287/0.1863, allocations: 414.2 kB / 0.5519 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002708/0.189, allocations: 1.825 MB / 0.5537 GB, free: 4.457 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.189, allocations: 0 / 0.5537 GB, free: 4.457 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.189, allocations: 4 kB / 0.5537 GB, free: 4.453 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.189, allocations: 0 / 0.5537 GB, free: 4.453 MB / 414.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.002218/0.1912, allocations: 1.187 MB / 0.5549 GB, free: 3.211 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.1913, allocations: 8.031 kB / 0.5549 GB, free: 3.203 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.905e-05/0.1913, allocations: 30.06 kB / 0.5549 GB, free: 3.176 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.1914, allocations: 110.7 kB / 0.555 GB, free: 3.059 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006645/0.1921, allocations: 160.1 kB / 0.5552 GB, free: 2.902 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008107/0.1929, allocations: 483.6 kB / 0.5556 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.193, allocations: 84.2 kB / 0.5557 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.1932, allocations: 72.08 kB / 0.5558 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.1945, allocations: 0.7776 MB / 0.5565 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.1945, allocations: 3.938 kB / 0.5565 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.108e-05/0.1946, allocations: 24 kB / 0.5566 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.1946, allocations: 20 kB / 0.5566 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.1961, allocations: 0.8718 MB / 0.5574 GB, free: 0.5195 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.004387/0.2005, allocations: 2.575 MB / 0.5599 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.2021, allocations: 0.9738 MB / 0.5609 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004729/0.2026, allocations: 278.4 kB / 0.5612 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004337/0.2069, allocations: 2.836 MB / 0.5639 GB, free: 9.336 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.207, allocations: 38.56 kB / 0.564 GB, free: 9.289 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 2.044e-06/0.207, allocations: 0 / 0.564 GB, free: 9.289 MB / 430.1 MB Notification: Performance of matching and sorting (n=46): time 0.002691/0.2097, allocations: 1.249 MB / 0.5652 GB, free: 7.988 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.2097, allocations: 55.41 kB / 0.5652 GB, free: 7.922 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005301/0.2102, allocations: 417.8 kB / 0.5656 GB, free: 7.508 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.2103, allocations: 37.7 kB / 0.5657 GB, free: 7.465 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.2106, allocations: 376.1 kB / 0.566 GB, free: 7.094 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.2107, allocations: 170.6 kB / 0.5662 GB, free: 6.926 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.2109, allocations: 130.6 kB / 0.5663 GB, free: 6.789 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.2111, allocations: 362.8 kB / 0.5667 GB, free: 6.426 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.2114, allocations: 149.9 kB / 0.5668 GB, free: 6.281 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000505/0.2119, allocations: 384.3 kB / 0.5672 GB, free: 5.801 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008883/0.2128, allocations: 0.5825 MB / 0.5677 GB, free: 5.109 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.2128, allocations: 4 kB / 0.5677 GB, free: 5.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001075/0.2139, allocations: 0.6055 MB / 0.5683 GB, free: 4.492 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.2139, allocations: 11.94 kB / 0.5683 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.214, allocations: 8 kB / 0.5684 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.034e-05/0.214, allocations: 16.06 kB / 0.5684 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007526/0.2147, allocations: 203.7 kB / 0.5686 GB, free: 4.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.269e-05/0.2148, allocations: 19.92 kB / 0.5686 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.2151, allocations: 20 kB / 0.5686 GB, free: 4.219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.047e-05/0.2151, allocations: 36 kB / 0.5686 GB, free: 4.184 MB / 430.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.0003283/0.2155, allocations: 206.5 kB / 0.5688 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.52e-05/0.2156, allocations: 59.59 kB / 0.5689 GB, free: 3.914 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.2166, allocations: 0.4936 MB / 0.5694 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.2166, allocations: 8 kB / 0.5694 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2166, allocations: 3.938 kB / 0.5694 GB, free: 3.402 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.2166, allocations: 3.984 kB / 0.5694 GB, free: 3.398 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009132/0.2175, allocations: 0.6238 MB / 0.57 GB, free: 2.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2175, allocations: 0 / 0.57 GB, free: 2.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005863/0.2181, allocations: 139.9 kB / 0.5701 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.427e-06/0.2181, allocations: 7.938 kB / 0.5701 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.2181, allocations: 15.98 kB / 0.5702 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.2182, allocations: 11.92 kB / 0.5702 GB, free: 2.535 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.2182, allocations: 8.094 kB / 0.5702 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.2194, allocations: 0.719 MB / 0.5709 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.2196, allocations: 168.6 kB / 0.571 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.406e-05/0.2197, allocations: 12 kB / 0.571 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.2199, allocations: 16 kB / 0.5711 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.7e-05/0.22, allocations: 40.33 kB / 0.5711 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/0.22, allocations: 20 kB / 0.5711 GB, free: 1.504 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003444/0.2204, allocations: 275.1 kB / 0.5714 GB, free: 1.242 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2204, allocations: 0 / 0.5714 GB, free: 1.242 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001148/0.2215, allocations: 335.1 kB / 0.5717 GB, free: 0.9141 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.002402/0.2239, allocations: 1.598 MB / 0.5733 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008786/0.2248, allocations: 416.8 kB / 0.5737 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2248, allocations: 1.938 kB / 0.5737 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.2251, allocations: 190.4 kB / 0.5738 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000739/0.2259, allocations: 136.7 kB / 0.574 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007137/0.233, allocations: 4.81 MB / 0.5787 GB, free: 9.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006281/0.2336, allocations: 0.8861 MB / 0.5795 GB, free: 8.516 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004428/0.2341, allocations: 120.5 kB / 0.5796 GB, free: 8.398 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003957/0.2345, allocations: 259.3 kB / 0.5799 GB, free: 8.145 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.2345, allocations: 0 / 0.5799 GB, free: 8.145 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3471/0.5816, allocations: 15.53 MB / 0.5951 GB, free: 64.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.622/10.2, allocations: 6.516 kB / 0.5951 GB, free: 64.46 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: 13.299237458966672] Failed to read output from testmodel.py, exit status != 0: 10.346294023969676 10.370921614 10.17784075 Calling exit ...