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.001298/0.001298, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001459/0.001459, allocations: 214.8 kB / 22.25 MB, free: 5.082 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.405/1.405, allocations: 230.6 MB / 256 MB, free: 8.023 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.1348/0.1348, allocations: 23.85 MB / 336.3 MB, free: 11.21 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.001898/0.001898, allocations: 63.91 kB / 471.2 MB, free: 7.723 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3327, allocations: 59.86 MB / 0.5186 GB, free: 9.59 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.03972/0.3724, allocations: 25.04 MB / 0.543 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01139/0.3838, allocations: 8.047 MB / 0.5509 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005769/0.3844, allocations: 11.88 kB / 0.5509 GB, free: 7.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005591/0.3849, allocations: 193.9 kB / 0.5511 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.3867, allocations: 0.7063 MB / 0.5518 GB, free: 6.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002849/0.3895, allocations: 1.043 MB / 0.5528 GB, free: 5.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001341/0.3909, allocations: 0.9433 MB / 0.5537 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005836/0.3915, allocations: 434.6 kB / 0.5541 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005025/0.392, allocations: 459.5 kB / 0.5546 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007597/0.3927, allocations: 0.5009 MB / 0.555 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.3928, allocations: 76 kB / 0.5551 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.3952, allocations: 0.8778 MB / 0.556 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.3954, allocations: 193.6 kB / 0.5562 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004214/0.3958, allocations: 415.4 kB / 0.5566 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002888/0.3987, allocations: 1.823 MB / 0.5583 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3987, allocations: 4 kB / 0.5583 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3987, allocations: 0 / 0.5583 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.3987, allocations: 0 / 0.5583 GB, free: 0.8164 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.002071/0.4008, allocations: 1.113 MB / 0.5594 GB, free: 15.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.4008, allocations: 12.58 kB / 0.5594 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.401, allocations: 114.4 kB / 0.5596 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006227/0.4016, allocations: 154.2 kB / 0.5597 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007761/0.4024, allocations: 430.5 kB / 0.5601 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.4025, allocations: 106.7 kB / 0.5602 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.4026, allocations: 73.17 kB / 0.5603 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.4039, allocations: 0.776 MB / 0.561 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.4039, allocations: 0 / 0.561 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.016e-05/0.4039, allocations: 28 kB / 0.5611 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.404, allocations: 16 kB / 0.5611 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.4054, allocations: 0.8816 MB / 0.5619 GB, free: 13.49 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.004037/0.4094, allocations: 2.53 MB / 0.5644 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.4109, allocations: 0.8201 MB / 0.5652 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004562/0.4113, allocations: 287.2 kB / 0.5655 GB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003361/0.4147, allocations: 1.586 MB / 0.567 GB, free: 8.305 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.4147, allocations: 38.56 kB / 0.5671 GB, free: 8.258 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 1.693e-06/0.4147, allocations: 0 / 0.5671 GB, free: 8.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002425/0.4171, allocations: 1.17 MB / 0.5682 GB, free: 7.055 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.4172, allocations: 59.41 kB / 0.5683 GB, free: 6.984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004794/0.4177, allocations: 417.8 kB / 0.5687 GB, free: 6.566 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/0.4177, allocations: 37.7 kB / 0.5687 GB, free: 6.523 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/0.418, allocations: 376.2 kB / 0.5691 GB, free: 6.148 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.4181, allocations: 170.5 kB / 0.5692 GB, free: 5.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.4183, allocations: 130.6 kB / 0.5694 GB, free: 5.848 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.4185, allocations: 358.8 kB / 0.5697 GB, free: 5.488 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.4188, allocations: 153.9 kB / 0.5698 GB, free: 5.336 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004616/0.4192, allocations: 384.3 kB / 0.5702 GB, free: 4.859 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007635/0.42, allocations: 0.5748 MB / 0.5708 GB, free: 4.176 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.42, allocations: 4 kB / 0.5708 GB, free: 4.172 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0009706/0.421, allocations: 0.6163 MB / 0.5714 GB, free: 3.547 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.421, allocations: 12.88 kB / 0.5714 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.421, allocations: 8 kB / 0.5714 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.421, allocations: 8 kB / 0.5714 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/0.4217, allocations: 211.7 kB / 0.5716 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.4218, allocations: 15.92 kB / 0.5716 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.422, allocations: 20 kB / 0.5716 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/0.4221, allocations: 40 kB / 0.5717 GB, free: 3.238 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.0002707/0.4224, allocations: 205.6 kB / 0.5719 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.773e-05/0.4225, allocations: 55.61 kB / 0.5719 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009229/0.4234, allocations: 0.4935 MB / 0.5724 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4234, allocations: 8 kB / 0.5724 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4234, allocations: 0 / 0.5724 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.4234, allocations: 3.984 kB / 0.5724 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008171/0.4242, allocations: 0.5994 MB / 0.573 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4242, allocations: 12.06 kB / 0.573 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005691/0.4248, allocations: 135.9 kB / 0.5731 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.198e-06/0.4248, allocations: 7.938 kB / 0.5732 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.4248, allocations: 16 kB / 0.5732 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.4248, allocations: 4 kB / 0.5732 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4248, allocations: 0 / 0.5732 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.4259, allocations: 0.7302 MB / 0.5739 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.4261, allocations: 79.67 kB / 0.574 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.876e-05/0.4261, allocations: 19.92 kB / 0.574 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.4263, allocations: 12 kB / 0.574 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.388e-05/0.4264, allocations: 40.38 kB / 0.574 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.4265, allocations: 20 kB / 0.574 GB, free: 0.707 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003009/0.4268, allocations: 275.1 kB / 0.5743 GB, free: 448 kB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4268, allocations: 3.938 kB / 0.5743 GB, free: 444 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.000971/0.4277, allocations: 339 kB / 0.5746 GB, free: 104 kB / 414.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.002091/0.4298, allocations: 1.594 MB / 0.5762 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007814/0.4306, allocations: 413.2 kB / 0.5766 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4306, allocations: 0 / 0.5766 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003048/0.4309, allocations: 188 kB / 0.5768 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007087/0.4316, allocations: 134.7 kB / 0.5769 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006406/0.438, allocations: 4.821 MB / 0.5816 GB, free: 8.625 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/0.4386, allocations: 0.89 MB / 0.5825 GB, free: 7.707 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003809/0.439, allocations: 124.5 kB / 0.5826 GB, free: 7.582 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/0.4393, allocations: 251.3 kB / 0.5828 GB, free: 7.336 MB / 430.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4393, allocations: 0 / 0.5828 GB, free: 7.336 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05165/0.4909, allocations: 16.05 MB / 0.5985 GB, free: 7.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.63, allocations: 12 kB / 0.5985 GB, free: 7.418 MB / 446.1 MB " [Timeout remaining time 648] (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: 14.333077126000717] Failed to read output from testmodel.py, exit status != 0: 11.737216408000677 11.752536195 11.350799483 Calling exit ...