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.001412/0.001412, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.001475/0.001475, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.58/1.58, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.1742/0.1742, allocations: 23.85 MB / 332.7 MB, free: 12.38 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.SimpleReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction,fileNamePrefix="Chemical_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.002059/0.002059, allocations: 66.41 kB / 466 MB, free: 10.13 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5228/0.5248, allocations: 59.83 MB / 0.5135 GB, free: 8.852 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.04567/0.5705, allocations: 24.84 MB / 0.5377 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0133/0.5838, allocations: 8.027 MB / 0.5456 GB, free: 8.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009716/0.5847, allocations: 11.88 kB / 0.5456 GB, free: 8.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008551/0.5856, allocations: 193.7 kB / 0.5458 GB, free: 8.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00292/0.5885, allocations: 0.6949 MB / 0.5464 GB, free: 7.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003917/0.5924, allocations: 1.033 MB / 0.5474 GB, free: 6.758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002081/0.5945, allocations: 0.9412 MB / 0.5484 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007921/0.5953, allocations: 443.9 kB / 0.5488 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006806/0.596, allocations: 464.7 kB / 0.5492 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008302/0.5968, allocations: 0.5014 MB / 0.5497 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.597, allocations: 80 kB / 0.5498 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00381/0.6008, allocations: 0.8699 MB / 0.5506 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.601, allocations: 194.8 kB / 0.5508 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005817/0.6016, allocations: 419 kB / 0.5512 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006041/0.6077, allocations: 1.819 MB / 0.553 GB, free: 1.914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.6077, allocations: 0 / 0.553 GB, free: 1.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.6077, allocations: 3.938 kB / 0.553 GB, free: 1.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.6077, allocations: 0 / 0.553 GB, free: 1.91 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.002934/0.6106, allocations: 1.191 MB / 0.5542 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.397e-05/0.6107, allocations: 12.64 kB / 0.5542 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001991/0.6109, allocations: 114.8 kB / 0.5543 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007695/0.6117, allocations: 157.7 kB / 0.5544 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.6128, allocations: 491.7 kB / 0.5549 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/0.613, allocations: 81.14 kB / 0.555 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.6131, allocations: 69.12 kB / 0.5551 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.6149, allocations: 0.7796 MB / 0.5558 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.6149, allocations: 0 / 0.5558 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.358e-05/0.615, allocations: 32.69 kB / 0.5559 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.615, allocations: 16 kB / 0.5559 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.6168, allocations: 0.8773 MB / 0.5567 GB, free: 14.45 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.005016/0.6218, allocations: 2.564 MB / 0.5592 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.6235, allocations: 0.972 MB / 0.5602 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000509/0.624, allocations: 278.4 kB / 0.5604 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004514/0.6286, allocations: 2.836 MB / 0.5632 GB, free: 7.762 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.6286, allocations: 42.5 kB / 0.5633 GB, free: 7.711 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.033e-06/0.6286, allocations: 0 / 0.5633 GB, free: 7.711 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002897/0.6315, allocations: 1.241 MB / 0.5645 GB, free: 6.418 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.6316, allocations: 63.39 kB / 0.5645 GB, free: 6.344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005586/0.6321, allocations: 413.8 kB / 0.5649 GB, free: 5.938 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.6322, allocations: 37.7 kB / 0.565 GB, free: 5.895 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003567/0.6325, allocations: 380.1 kB / 0.5653 GB, free: 5.516 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.6327, allocations: 174.5 kB / 0.5655 GB, free: 5.344 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.6329, allocations: 126.6 kB / 0.5656 GB, free: 5.211 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002755/0.6332, allocations: 358.8 kB / 0.5659 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/0.6335, allocations: 149.9 kB / 0.5661 GB, free: 4.707 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005193/0.634, allocations: 388.3 kB / 0.5665 GB, free: 4.223 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009085/0.6349, allocations: 0.5748 MB / 0.567 GB, free: 3.539 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.6349, allocations: 4 kB / 0.567 GB, free: 3.535 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001068/0.636, allocations: 0.613 MB / 0.5676 GB, free: 2.914 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.636, allocations: 15.94 kB / 0.5676 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.636, allocations: 8 kB / 0.5676 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/0.636, allocations: 8 kB / 0.5677 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007685/0.6368, allocations: 208 kB / 0.5679 GB, free: 2.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.158e-05/0.6368, allocations: 19.92 kB / 0.5679 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.6371, allocations: 20 kB / 0.5679 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.227e-05/0.6372, allocations: 36 kB / 0.5679 GB, free: 2.605 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.0003152/0.6375, allocations: 197.6 kB / 0.5681 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.6376, allocations: 55.61 kB / 0.5682 GB, free: 2.348 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.6388, allocations: 0.5052 MB / 0.5687 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.6388, allocations: 8 kB / 0.5687 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.6388, allocations: 0 / 0.5687 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.6388, allocations: 7.984 kB / 0.5687 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009702/0.6398, allocations: 0.6199 MB / 0.5693 GB, free: 1.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.6398, allocations: 0 / 0.5693 GB, free: 1.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006146/0.6404, allocations: 147.9 kB / 0.5694 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.6404, allocations: 11.94 kB / 0.5694 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/0.6405, allocations: 19.94 kB / 0.5695 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.6405, allocations: 3.984 kB / 0.5695 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6405, allocations: 4 kB / 0.5695 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.6417, allocations: 0.7267 MB / 0.5702 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.642, allocations: 160.8 kB / 0.5703 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.329e-05/0.6421, allocations: 16.14 kB / 0.5703 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.6423, allocations: 12 kB / 0.5704 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.6424, allocations: 36.39 kB / 0.5704 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.6424, allocations: 16 kB / 0.5704 GB, free: 15.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003715/0.6428, allocations: 275.1 kB / 0.5707 GB, free: 15.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6428, allocations: 4 kB / 0.5707 GB, free: 15.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001184/0.644, allocations: 339.1 kB / 0.571 GB, free: 15.33 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.0024/0.6464, allocations: 1.598 MB / 0.5726 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000843/0.6472, allocations: 410.5 kB / 0.5729 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.6472, allocations: 12.19 kB / 0.573 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.6475, allocations: 186.4 kB / 0.5731 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007669/0.6483, allocations: 144 kB / 0.5733 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007471/0.6558, allocations: 4.802 MB / 0.578 GB, free: 7.848 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007296/0.6565, allocations: 0.89 MB / 0.5788 GB, free: 6.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004855/0.657, allocations: 128.5 kB / 0.579 GB, free: 6.801 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/0.6574, allocations: 247.3 kB / 0.5792 GB, free: 6.559 MB / 430.1 MB Notification: Performance of SimCode: time 1.133e-06/0.6574, allocations: 0 / 0.5792 GB, free: 6.559 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05126/0.7087, allocations: 15.51 MB / 0.5943 GB, free: 7.141 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.017/9.725, allocations: 15.84 kB / 0.5944 GB, free: 7.125 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 & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.SimpleReaction_res.csv --start-time 0 --stop-time 0.001 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-07 Chemical_Chemical_Obsolete_Examples_SimpleReaction.fmu > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.815495910996106] Failed to read output from testmodel.py, exit status != 0: 9.80816314999538 9.825898405 9.215175287 Calling exit ...