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.001363/0.001363, 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.0015/0.0015, allocations: 213.6 kB / 22.25 MB, free: 4.855 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 7.793 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.1586/0.1586, allocations: 23.87 MB / 336.3 MB, free: 10.99 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.002105/0.002105, allocations: 63.89 kB / 471.1 MB, free: 7.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4169, allocations: 59.86 MB / 0.5185 GB, free: 9.535 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.07224/0.4892, allocations: 25.53 MB / 0.5434 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01585/0.505, allocations: 10.25 MB / 0.5535 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009737/0.506, allocations: 19.88 kB / 0.5535 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008193/0.5068, allocations: 242.9 kB / 0.5537 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002836/0.5097, allocations: 1 MB / 0.5547 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004723/0.5144, allocations: 1.524 MB / 0.5562 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001777/0.5162, allocations: 1.255 MB / 0.5574 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008517/0.517, allocations: 0.5692 MB / 0.558 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008365/0.5179, allocations: 0.6197 MB / 0.5586 GB, free: 292 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.519, allocations: 0.61 MB / 0.5592 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.5192, allocations: 104 kB / 0.5593 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004173/0.5234, allocations: 1.216 MB / 0.5604 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003191/0.5237, allocations: 266.6 kB / 0.5607 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005852/0.5243, allocations: 471.2 kB / 0.5611 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004913/0.5292, allocations: 2.587 MB / 0.5637 GB, free: 11.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5292, allocations: 0 / 0.5637 GB, free: 11.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5292, allocations: 4 kB / 0.5637 GB, free: 11.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.5292, allocations: 0 / 0.5637 GB, free: 11.69 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.002859/0.5321, allocations: 1.442 MB / 0.5651 GB, free: 10.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5321, allocations: 8.031 kB / 0.5651 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001782/0.5323, allocations: 139.6 kB / 0.5652 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009227/0.5332, allocations: 215.9 kB / 0.5654 GB, free: 9.852 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000967/0.5342, allocations: 0.527 MB / 0.5659 GB, free: 9.297 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.5343, allocations: 118 kB / 0.5661 GB, free: 9.168 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.5345, allocations: 92.38 kB / 0.5661 GB, free: 9.078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.5362, allocations: 1.053 MB / 0.5672 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.5362, allocations: 0 / 0.5672 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.97e-05/0.5363, allocations: 36 kB / 0.5672 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.5363, allocations: 24 kB / 0.5672 GB, free: 7.949 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/0.5384, allocations: 1.261 MB / 0.5685 GB, free: 6.688 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.005316/0.5437, allocations: 2.814 MB / 0.5712 GB, free: 3.785 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002335/0.5461, allocations: 1.246 MB / 0.5724 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006463/0.5467, allocations: 403.6 kB / 0.5728 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004848/0.5516, allocations: 2.073 MB / 0.5748 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/0.5516, allocations: 43.05 kB / 0.5749 GB, free: 15.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 2.384e-06/0.5516, allocations: 0 / 0.5749 GB, free: 15.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003451/0.5551, allocations: 1.6 MB / 0.5764 GB, free: 14.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.5551, allocations: 64 kB / 0.5765 GB, free: 14.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007169/0.5559, allocations: 0.5222 MB / 0.577 GB, free: 13.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.5559, allocations: 37.7 kB / 0.577 GB, free: 13.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003852/0.5563, allocations: 475.7 kB / 0.5775 GB, free: 13.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.5565, allocations: 245.9 kB / 0.5777 GB, free: 13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.5568, allocations: 170.6 kB / 0.5779 GB, free: 12.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000234/0.557, allocations: 382.7 kB / 0.5783 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/0.5574, allocations: 209.9 kB / 0.5785 GB, free: 12.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006994/0.5581, allocations: 0.5296 MB / 0.579 GB, free: 11.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.5593, allocations: 0.8104 MB / 0.5798 GB, free: 10.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.5593, allocations: 8 kB / 0.5798 GB, free: 10.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001443/0.5608, allocations: 0.8526 MB / 0.5806 GB, free: 9.727 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.5608, allocations: 16.06 kB / 0.5806 GB, free: 9.711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.5608, allocations: 15.94 kB / 0.5806 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.233e-05/0.5608, allocations: 16 kB / 0.5807 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009279/0.5618, allocations: 259.6 kB / 0.5809 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.51e-05/0.5618, allocations: 23.92 kB / 0.5809 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.5622, allocations: 32 kB / 0.581 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.098e-05/0.5623, allocations: 52 kB / 0.581 GB, free: 9.32 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.000355/0.5626, allocations: 233.5 kB / 0.5812 GB, free: 9.082 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.5628, allocations: 67.58 kB / 0.5813 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.5641, allocations: 0.6952 MB / 0.582 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.5641, allocations: 4 kB / 0.582 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.5641, allocations: 4 kB / 0.582 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.5641, allocations: 3.984 kB / 0.582 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.5651, allocations: 0.67 MB / 0.5826 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.5651, allocations: 0 / 0.5826 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007396/0.5659, allocations: 175.9 kB / 0.5828 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.5659, allocations: 8 kB / 0.5828 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/0.5659, allocations: 19.94 kB / 0.5828 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.5659, allocations: 7.938 kB / 0.5828 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5659, allocations: 4 kB / 0.5828 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.5674, allocations: 0.9568 MB / 0.5838 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.5677, allocations: 119.5 kB / 0.5839 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.023e-05/0.5677, allocations: 23.92 kB / 0.5839 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.568, allocations: 16 kB / 0.5839 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.5681, allocations: 56.56 kB / 0.584 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/0.5682, allocations: 24 kB / 0.584 GB, free: 6.141 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004161/0.5686, allocations: 346.8 kB / 0.5843 GB, free: 5.805 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5686, allocations: 0 / 0.5843 GB, free: 5.805 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001389/0.57, allocations: 486.6 kB / 0.5848 GB, free: 5.328 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.002819/0.5728, allocations: 1.992 MB / 0.5867 GB, free: 3.293 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.5738, allocations: 0.5766 MB / 0.5873 GB, free: 2.719 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5738, allocations: 0 / 0.5873 GB, free: 2.719 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004068/0.5742, allocations: 257.2 kB / 0.5876 GB, free: 2.465 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007956/0.575, allocations: 150.3 kB / 0.5877 GB, free: 2.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008692/0.5837, allocations: 6.14 MB / 0.5937 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.5841, allocations: 369.5 kB / 0.594 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005743/0.5847, allocations: 161.5 kB / 0.5942 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004781/0.5852, allocations: 347.3 kB / 0.5945 GB, free: 10.88 MB / 446.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5852, allocations: 3.938 kB / 0.5945 GB, free: 10.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06229/0.6475, allocations: 22.21 MB / 0.6162 GB, free: 4.887 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.95, allocations: 9.625 kB / 0.6162 GB, free: 4.883 MB / 462.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.SimpleReaction2_res.csv --start-time 0 --stop-time 0.0001 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-08 Chemical_Chemical_Obsolete_Examples_SimpleReaction2.fmu > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.941566087305546] Failed to read output from testmodel.py, exit status != 0: 13.07391679706052 13.08976494 12.557264784 Calling exit ...