Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.SimpleReaction2.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.001456/0.001456, allocations: 103.2 kB / 16.45 MB, free: 6.453 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.001593/0.001593, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.566/1.566, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.1641/0.1641, allocations: 23.85 MB / 332.7 MB, free: 12.39 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.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction2",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.002063/0.002063, allocations: 63.91 kB / 466 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3748, allocations: 59.81 MB / 0.5135 GB, free: 8.832 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.SimpleReaction2): time 0.04115/0.416, allocations: 25.85 MB / 0.5387 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01601/0.432, allocations: 11.69 MB / 0.5501 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009759/0.4329, allocations: 19.81 kB / 0.5501 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008308/0.4338, allocations: 257.3 kB / 0.5504 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003232/0.437, allocations: 0.9919 MB / 0.5514 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004435/0.4414, allocations: 1.515 MB / 0.5528 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002109/0.4436, allocations: 1.255 MB / 0.5541 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008551/0.4444, allocations: 0.5925 MB / 0.5546 GB, free: 116 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007691/0.4452, allocations: 0.6153 MB / 0.5552 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009852/0.4462, allocations: 0.6754 MB / 0.5559 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.4463, allocations: 108 kB / 0.556 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003967/0.4503, allocations: 1.3 MB / 0.5573 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003125/0.4506, allocations: 259 kB / 0.5575 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006542/0.4513, allocations: 0.5421 MB / 0.558 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008011/0.4593, allocations: 2.595 MB / 0.5606 GB, free: 10.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4593, allocations: 4 kB / 0.5606 GB, free: 10.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4593, allocations: 3.938 kB / 0.5606 GB, free: 10.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.298e-05/0.4593, allocations: 0 / 0.5606 GB, free: 10.95 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003231/0.4625, allocations: 1.531 MB / 0.5621 GB, free: 9.477 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.4626, allocations: 8.031 kB / 0.5621 GB, free: 9.469 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001856/0.4628, allocations: 135.7 kB / 0.5622 GB, free: 9.328 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.4638, allocations: 219.9 kB / 0.5624 GB, free: 9.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009436/0.4647, allocations: 0.5797 MB / 0.563 GB, free: 8.492 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.4648, allocations: 96.27 kB / 0.5631 GB, free: 8.391 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.465, allocations: 88.38 kB / 0.5632 GB, free: 8.305 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.4668, allocations: 1.053 MB / 0.5642 GB, free: 7.234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.4668, allocations: 0 / 0.5642 GB, free: 7.234 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.4669, allocations: 39.94 kB / 0.5642 GB, free: 7.195 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.467, allocations: 20 kB / 0.5643 GB, free: 7.176 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.4691, allocations: 1.273 MB / 0.5655 GB, free: 5.902 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.005873/0.475, allocations: 3.486 MB / 0.5689 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002478/0.4775, allocations: 1.476 MB / 0.5703 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000692/0.4782, allocations: 403.7 kB / 0.5707 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005922/0.4841, allocations: 4.045 MB / 0.5747 GB, free: 11.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.4841, allocations: 47.06 kB / 0.5747 GB, free: 11.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 2.525e-06/0.4841, allocations: 0 / 0.5747 GB, free: 11.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003787/0.4879, allocations: 1.671 MB / 0.5764 GB, free: 10 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.488, allocations: 55.97 kB / 0.5764 GB, free: 9.934 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006595/0.4887, allocations: 0.5146 MB / 0.5769 GB, free: 9.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.814e-05/0.4887, allocations: 33.7 kB / 0.5769 GB, free: 9.371 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.4891, allocations: 479.7 kB / 0.5774 GB, free: 8.895 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002299/0.4893, allocations: 234 kB / 0.5776 GB, free: 8.664 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.4895, allocations: 174.6 kB / 0.5778 GB, free: 8.488 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.4897, allocations: 370.8 kB / 0.5781 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.4901, allocations: 217.9 kB / 0.5784 GB, free: 7.906 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007025/0.4908, allocations: 0.5372 MB / 0.5789 GB, free: 7.223 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.492, allocations: 0.8092 MB / 0.5797 GB, free: 6.258 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.492, allocations: 4 kB / 0.5797 GB, free: 6.254 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001509/0.4935, allocations: 0.8535 MB / 0.5805 GB, free: 5.398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.4936, allocations: 12 kB / 0.5805 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.4936, allocations: 16.84 kB / 0.5805 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.333e-05/0.4936, allocations: 16 kB / 0.5805 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.4947, allocations: 267.6 kB / 0.5808 GB, free: 5.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-05/0.4947, allocations: 19.94 kB / 0.5808 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005114/0.4952, allocations: 28 kB / 0.5808 GB, free: 5.047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.155e-05/0.4953, allocations: 51.98 kB / 0.5809 GB, free: 4.996 MB / 430.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003892/0.4957, allocations: 233.5 kB / 0.5811 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.4958, allocations: 71.58 kB / 0.5812 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.4973, allocations: 0.6891 MB / 0.5819 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.4973, allocations: 11.94 kB / 0.5819 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4973, allocations: 0 / 0.5819 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.4973, allocations: 3.984 kB / 0.5819 GB, free: 3.969 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.4985, allocations: 0.7721 MB / 0.5826 GB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.4985, allocations: 4 kB / 0.5826 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008412/0.4994, allocations: 175.9 kB / 0.5828 GB, free: 2.953 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.4994, allocations: 8 kB / 0.5828 GB, free: 2.945 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.784e-05/0.4994, allocations: 23.94 kB / 0.5828 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.4994, allocations: 4 kB / 0.5828 GB, free: 2.918 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4994, allocations: 0 / 0.5828 GB, free: 2.918 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.501, allocations: 0.9601 MB / 0.5838 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002956/0.5013, allocations: 188.6 kB / 0.584 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.582e-05/0.5013, allocations: 19.94 kB / 0.584 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/0.5016, allocations: 15.98 kB / 0.584 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.5018, allocations: 52.5 kB / 0.584 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-05/0.5018, allocations: 24 kB / 0.5841 GB, free: 1.621 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004206/0.5022, allocations: 342.8 kB / 0.5844 GB, free: 1.289 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5022, allocations: 0 / 0.5844 GB, free: 1.289 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001705/0.5039, allocations: 490.6 kB / 0.5849 GB, free: 0.8086 MB / 430.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 (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.003192/0.5071, allocations: 1.995 MB / 0.5868 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.5083, allocations: 0.5689 MB / 0.5874 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.5083, allocations: 4.125 kB / 0.5874 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004238/0.5087, allocations: 255 kB / 0.5876 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.5097, allocations: 169.3 kB / 0.5878 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009551/0.5193, allocations: 6.135 MB / 0.5938 GB, free: 7.242 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006421/0.5199, allocations: 0.954 MB / 0.5947 GB, free: 6.262 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006838/0.5206, allocations: 169.4 kB / 0.5949 GB, free: 6.094 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005337/0.5211, allocations: 347.3 kB / 0.5952 GB, free: 5.754 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5211, allocations: 4 kB / 0.5952 GB, free: 5.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05543/0.5766, allocations: 21.05 MB / 0.6157 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.846/10.42, allocations: 15.94 kB / 0.6158 GB, free: 0.793 MB / 462.1 MB " [Timeout remaining time 649] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_SimpleReaction2_fmu --startTime=0 --stopTime=0.0001 --stepSize=4e-08 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_SimpleReaction2.fmu > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.315177279058844] Failed to read output from testmodel.py, exit status != 0: 10.503290741937235 10.519245859 10.056528607 Calling exit ...