Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001242/0.001242, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001476/0.001476, allocations: 218.8 kB / 22.26 MB, free: 5.125 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 7.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.151/0.151, allocations: 23.9 MB / 336.3 MB, free: 11.21 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Obsolete_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction,fileNamePrefix="Chemical_master_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.002114/0.002114, allocations: 63.89 kB / 471.2 MB, free: 7.633 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3024, allocations: 59.88 MB / 0.5187 GB, free: 9.109 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.03987/0.3423, allocations: 25.04 MB / 0.5431 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.3533, allocations: 8.043 MB / 0.551 GB, free: 6.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007312/0.354, allocations: 15.88 kB / 0.551 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006543/0.3546, allocations: 190 kB / 0.5512 GB, free: 6.836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002154/0.3568, allocations: 0.7021 MB / 0.5518 GB, free: 6.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003109/0.3599, allocations: 1.055 MB / 0.5529 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.3614, allocations: 0.9348 MB / 0.5538 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005944/0.362, allocations: 427.5 kB / 0.5542 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005023/0.3625, allocations: 467.4 kB / 0.5546 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007778/0.3632, allocations: 0.4973 MB / 0.5551 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.3634, allocations: 80 kB / 0.5552 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/0.366, allocations: 0.8698 MB / 0.556 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.3662, allocations: 198.3 kB / 0.5562 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004384/0.3666, allocations: 418.8 kB / 0.5566 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003136/0.3698, allocations: 1.823 MB / 0.5584 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.371e-05/0.3698, allocations: 4 kB / 0.5584 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3698, allocations: 0 / 0.5584 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.3698, allocations: 0 / 0.5584 GB, free: 0.5469 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.002307/0.3721, allocations: 1.124 MB / 0.5595 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3722, allocations: 8.781 kB / 0.5595 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001468/0.3723, allocations: 110.3 kB / 0.5596 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006386/0.3729, allocations: 154.7 kB / 0.5598 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007709/0.3737, allocations: 425.9 kB / 0.5602 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.3738, allocations: 106.8 kB / 0.5603 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.3739, allocations: 72.98 kB / 0.5604 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.3752, allocations: 0.7764 MB / 0.5611 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.3753, allocations: 0 / 0.5611 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.111e-05/0.3753, allocations: 28 kB / 0.5611 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.3754, allocations: 20 kB / 0.5612 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.3768, allocations: 0.8814 MB / 0.562 GB, free: 13.25 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.004178/0.381, allocations: 2.534 MB / 0.5645 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.3825, allocations: 0.8278 MB / 0.5653 GB, free: 9.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004572/0.3829, allocations: 275.2 kB / 0.5656 GB, free: 9.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003264/0.3862, allocations: 1.586 MB / 0.5671 GB, free: 8.051 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.3862, allocations: 34.56 kB / 0.5671 GB, free: 8.008 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 1.593e-06/0.3862, allocations: 0 / 0.5671 GB, free: 8.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002404/0.3886, allocations: 1.174 MB / 0.5683 GB, free: 6.801 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.3887, allocations: 55.41 kB / 0.5683 GB, free: 6.734 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000528/0.3892, allocations: 425.8 kB / 0.5688 GB, free: 6.309 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.3893, allocations: 33.7 kB / 0.5688 GB, free: 6.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.3895, allocations: 372.2 kB / 0.5691 GB, free: 5.898 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.3897, allocations: 174.5 kB / 0.5693 GB, free: 5.727 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.3898, allocations: 130.6 kB / 0.5694 GB, free: 5.594 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.39, allocations: 366.8 kB / 0.5698 GB, free: 5.227 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.3903, allocations: 145.9 kB / 0.5699 GB, free: 5.082 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004927/0.3908, allocations: 388.3 kB / 0.5703 GB, free: 4.602 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007719/0.3915, allocations: 0.5786 MB / 0.5709 GB, free: 3.914 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3915, allocations: 4 kB / 0.5709 GB, free: 3.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0009665/0.3925, allocations: 0.6054 MB / 0.5715 GB, free: 3.297 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.3925, allocations: 11.94 kB / 0.5715 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.3925, allocations: 12.09 kB / 0.5715 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.3926, allocations: 12 kB / 0.5715 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007072/0.3933, allocations: 203.7 kB / 0.5717 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/0.3933, allocations: 19.92 kB / 0.5717 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.3936, allocations: 24 kB / 0.5717 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.3936, allocations: 32 kB / 0.5718 GB, free: 2.988 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.0002695/0.3939, allocations: 205.6 kB / 0.5719 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.95e-05/0.394, allocations: 55.61 kB / 0.572 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009829/0.395, allocations: 0.4935 MB / 0.5725 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.395, allocations: 4 kB / 0.5725 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.395, allocations: 4 kB / 0.5725 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.395, allocations: 3.984 kB / 0.5725 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008502/0.3959, allocations: 0.6032 MB / 0.5731 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3959, allocations: 0 / 0.5731 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005768/0.3964, allocations: 139.9 kB / 0.5732 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.3964, allocations: 7.938 kB / 0.5732 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.3965, allocations: 12 kB / 0.5732 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.3965, allocations: 7.938 kB / 0.5732 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.3965, allocations: 16.06 kB / 0.5733 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.3976, allocations: 0.7147 MB / 0.574 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.3977, allocations: 87.67 kB / 0.574 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/0.3978, allocations: 15.92 kB / 0.5741 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.398, allocations: 16 kB / 0.5741 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/0.3981, allocations: 40.31 kB / 0.5741 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.3981, allocations: 16 kB / 0.5741 GB, free: 468 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003224/0.3985, allocations: 279.1 kB / 0.5744 GB, free: 188 kB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3985, allocations: 4 kB / 0.5744 GB, free: 184 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001001/0.3995, allocations: 335.1 kB / 0.5747 GB, free: 15.85 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.002023/0.4015, allocations: 1.598 MB / 0.5763 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007452/0.4022, allocations: 410.7 kB / 0.5767 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4022, allocations: 3.938 kB / 0.5767 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003198/0.4025, allocations: 190.4 kB / 0.5769 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007001/0.4032, allocations: 139.8 kB / 0.577 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006379/0.4096, allocations: 4.817 MB / 0.5817 GB, free: 8.363 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.4102, allocations: 0.8861 MB / 0.5826 GB, free: 7.449 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000417/0.4106, allocations: 120.5 kB / 0.5827 GB, free: 7.328 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003644/0.411, allocations: 259.3 kB / 0.5829 GB, free: 7.074 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.411, allocations: 0 / 0.5829 GB, free: 7.074 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05082/0.4618, allocations: 16.06 MB / 0.5986 GB, free: 7.164 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.89, allocations: 6.953 kB / 0.5986 GB, free: 7.16 MB / 446.1 MB " [Timeout remaining time 648] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.sim & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_SimpleReaction.fmu > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.563146164997306] Failed to read output from testmodel.py, exit status != 0: 12.001075665000826 12.017088003 11.643665026 Calling exit ...