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.001222/0.001222, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001405/0.001405, allocations: 218.5 kB / 22.25 MB, free: 5.105 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.409/1.409, allocations: 230.6 MB / 256 MB, free: 7.801 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.1562/0.1562, allocations: 23.89 MB / 336.3 MB, free: 10.95 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.001935/0.001935, allocations: 67.91 kB / 471.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3612, allocations: 59.86 MB / 0.5185 GB, free: 9.52 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.07321/0.4344, allocations: 25.44 MB / 0.5434 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01577/0.4502, allocations: 10.26 MB / 0.5534 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.4512, allocations: 15.81 kB / 0.5534 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007979/0.452, allocations: 246.2 kB / 0.5536 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003055/0.455, allocations: 0.9887 MB / 0.5546 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005035/0.4601, allocations: 1.537 MB / 0.5561 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002318/0.4624, allocations: 1.259 MB / 0.5573 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009606/0.4633, allocations: 0.5732 MB / 0.5579 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008327/0.4642, allocations: 0.6196 MB / 0.5585 GB, free: 340 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.4653, allocations: 0.6782 MB / 0.5592 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.4655, allocations: 108 kB / 0.5593 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004574/0.4701, allocations: 1.248 MB / 0.5605 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.4703, allocations: 259.1 kB / 0.5607 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005549/0.4709, allocations: 475.7 kB / 0.5612 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004564/0.4755, allocations: 2.587 MB / 0.5637 GB, free: 11.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4755, allocations: 0 / 0.5637 GB, free: 11.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4755, allocations: 0 / 0.5637 GB, free: 11.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.4755, allocations: 3.938 kB / 0.5637 GB, free: 11.66 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.00255/0.478, allocations: 1.446 MB / 0.5651 GB, free: 10.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.4781, allocations: 12.03 kB / 0.5651 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001596/0.4782, allocations: 135.7 kB / 0.5653 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008842/0.4791, allocations: 215.9 kB / 0.5655 GB, free: 9.816 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009307/0.4801, allocations: 0.5192 MB / 0.566 GB, free: 9.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.4802, allocations: 122 kB / 0.5661 GB, free: 9.137 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.4804, allocations: 88.38 kB / 0.5662 GB, free: 9.051 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.482, allocations: 1.053 MB / 0.5672 GB, free: 7.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.482, allocations: 7.938 kB / 0.5672 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.165e-05/0.4821, allocations: 32 kB / 0.5672 GB, free: 7.941 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.4822, allocations: 27.94 kB / 0.5673 GB, free: 7.914 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.4841, allocations: 1.253 MB / 0.5685 GB, free: 6.66 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.00499/0.4891, allocations: 2.822 MB / 0.5713 GB, free: 3.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00222/0.4913, allocations: 1.242 MB / 0.5725 GB, free: 2.504 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006094/0.4919, allocations: 395.7 kB / 0.5728 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004465/0.4964, allocations: 2.073 MB / 0.5749 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.254e-05/0.4965, allocations: 47 kB / 0.5749 GB, free: 15.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 2.124e-06/0.4965, allocations: 3.938 kB / 0.5749 GB, free: 15.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003399/0.4999, allocations: 1.596 MB / 0.5765 GB, free: 14.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.4999, allocations: 60.05 kB / 0.5765 GB, free: 14.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006194/0.5005, allocations: 0.5261 MB / 0.577 GB, free: 13.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.5006, allocations: 37.7 kB / 0.5771 GB, free: 13.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003852/0.501, allocations: 479.7 kB / 0.5775 GB, free: 13.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.5012, allocations: 230 kB / 0.5778 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.5014, allocations: 178.6 kB / 0.5779 GB, free: 12.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.5016, allocations: 378.7 kB / 0.5783 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.502, allocations: 209.9 kB / 0.5785 GB, free: 12.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006928/0.5027, allocations: 0.5373 MB / 0.579 GB, free: 11.53 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.5039, allocations: 0.8143 MB / 0.5798 GB, free: 10.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.5039, allocations: 0 / 0.5798 GB, free: 10.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001419/0.5053, allocations: 0.8602 MB / 0.5807 GB, free: 9.695 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.5053, allocations: 8 kB / 0.5807 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.5053, allocations: 15.94 kB / 0.5807 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.392e-05/0.5054, allocations: 16 kB / 0.5807 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009766/0.5064, allocations: 263.9 kB / 0.5809 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-05/0.5064, allocations: 23.94 kB / 0.581 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003931/0.5068, allocations: 31.98 kB / 0.581 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.05e-05/0.5069, allocations: 52 kB / 0.581 GB, free: 9.293 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.0003387/0.5072, allocations: 233.5 kB / 0.5813 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.5073, allocations: 63.58 kB / 0.5813 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.5086, allocations: 0.703 MB / 0.582 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.5086, allocations: 8 kB / 0.582 GB, free: 8.273 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5086, allocations: 4 kB / 0.582 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.5086, allocations: 0 / 0.582 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009978/0.5096, allocations: 0.6738 MB / 0.5827 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.5096, allocations: 4 kB / 0.5827 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007498/0.5104, allocations: 175.9 kB / 0.5829 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.5104, allocations: 4 kB / 0.5829 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.604e-05/0.5104, allocations: 27.94 kB / 0.5829 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.5105, allocations: 4 kB / 0.5829 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5105, allocations: 0 / 0.5829 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.5119, allocations: 0.9568 MB / 0.5838 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.5122, allocations: 115.5 kB / 0.5839 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.935e-05/0.5122, allocations: 19.94 kB / 0.584 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.5125, allocations: 19.98 kB / 0.584 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.5126, allocations: 44.58 kB / 0.584 GB, free: 6.145 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-05/0.5127, allocations: 31.98 kB / 0.584 GB, free: 6.113 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004271/0.5131, allocations: 338.8 kB / 0.5844 GB, free: 5.785 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5131, allocations: 3.938 kB / 0.5844 GB, free: 5.781 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001525/0.5146, allocations: 490.6 kB / 0.5848 GB, free: 5.301 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.00271/0.5174, allocations: 1.984 MB / 0.5868 GB, free: 3.273 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.5184, allocations: 0.5738 MB / 0.5873 GB, free: 2.703 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5184, allocations: 0 / 0.5873 GB, free: 2.703 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004095/0.5188, allocations: 263.6 kB / 0.5876 GB, free: 2.441 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007832/0.5196, allocations: 158.1 kB / 0.5877 GB, free: 2.293 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008085/0.5276, allocations: 6.147 MB / 0.5937 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.528, allocations: 361.5 kB / 0.5941 GB, free: 11.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005546/0.5286, allocations: 169.4 kB / 0.5942 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004879/0.5291, allocations: 343.3 kB / 0.5946 GB, free: 10.85 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5291, allocations: 8 kB / 0.5946 GB, free: 10.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05781/0.5869, allocations: 22.48 MB / 0.6165 GB, free: 4.586 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.78, allocations: 8.047 kB / 0.6165 GB, free: 4.578 MB / 462.1 MB " [Timeout remaining time 648] (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: 14.589938026008895] Failed to read output from testmodel.py, exit status != 0: 11.898858758999268 11.913452763 11.435007924 Calling exit ...