Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001604/0.001604, 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.001752/0.001752, allocations: 216.9 kB / 22.26 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.399/1.399, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1545/0.1545, allocations: 23.9 MB / 336.3 MB, free: 11.16 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.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction2,fileNamePrefix="Chemical_master_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.001969/0.001969, allocations: 63.91 kB / 471.2 MB, free: 7.656 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3042, allocations: 59.86 MB / 0.5186 GB, free: 9.609 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.SimpleReaction2): time 0.03587/0.34, allocations: 25.87 MB / 0.5439 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01602/0.356, allocations: 11.72 MB / 0.5554 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008275/0.3569, allocations: 19.88 kB / 0.5554 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007777/0.3576, allocations: 258.4 kB / 0.5556 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002503/0.3602, allocations: 0.9969 MB / 0.5566 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003947/0.3641, allocations: 1.536 MB / 0.5581 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001689/0.3658, allocations: 1.255 MB / 0.5593 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008086/0.3666, allocations: 0.5734 MB / 0.5599 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007149/0.3673, allocations: 0.6141 MB / 0.5605 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009854/0.3683, allocations: 0.6749 MB / 0.5611 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.3684, allocations: 104 kB / 0.5612 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003531/0.372, allocations: 1.304 MB / 0.5625 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002829/0.3723, allocations: 263.1 kB / 0.5628 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005639/0.3728, allocations: 0.5496 MB / 0.5633 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004339/0.3772, allocations: 2.584 MB / 0.5658 GB, free: 9.762 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3772, allocations: 4 kB / 0.5658 GB, free: 9.758 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3772, allocations: 0 / 0.5658 GB, free: 9.758 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.3772, allocations: 0 / 0.5658 GB, free: 9.758 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.002874/0.3801, allocations: 1.454 MB / 0.5672 GB, free: 8.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.3801, allocations: 12.03 kB / 0.5673 GB, free: 8.258 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.3803, allocations: 135.7 kB / 0.5674 GB, free: 8.117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008877/0.3812, allocations: 211.9 kB / 0.5676 GB, free: 7.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009444/0.3821, allocations: 0.527 MB / 0.5681 GB, free: 7.355 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.3822, allocations: 122 kB / 0.5682 GB, free: 7.223 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.3824, allocations: 84.38 kB / 0.5683 GB, free: 7.141 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.3841, allocations: 1.061 MB / 0.5693 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.3841, allocations: 0 / 0.5693 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.54e-05/0.3842, allocations: 32 kB / 0.5694 GB, free: 6.031 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.3842, allocations: 20 kB / 0.5694 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.3862, allocations: 1.277 MB / 0.5706 GB, free: 4.734 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.005253/0.3914, allocations: 3.44 MB / 0.574 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00221/0.3936, allocations: 1.258 MB / 0.5752 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006179/0.3942, allocations: 395.7 kB / 0.5756 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004467/0.3987, allocations: 2.201 MB / 0.5777 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.3987, allocations: 39.06 kB / 0.5778 GB, free: 13.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 1.853e-06/0.3987, allocations: 0 / 0.5778 GB, free: 13.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.00328/0.402, allocations: 1.596 MB / 0.5793 GB, free: 11.56 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.4021, allocations: 60.06 kB / 0.5794 GB, free: 11.49 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006291/0.4027, allocations: 0.5107 MB / 0.5799 GB, free: 10.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/0.4027, allocations: 37.7 kB / 0.5799 GB, free: 10.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000339/0.4031, allocations: 479.7 kB / 0.5804 GB, free: 10.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.4033, allocations: 230 kB / 0.5806 GB, free: 10.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.4035, allocations: 174.6 kB / 0.5808 GB, free: 10.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.4037, allocations: 382.7 kB / 0.5811 GB, free: 9.664 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003712/0.4041, allocations: 217.8 kB / 0.5813 GB, free: 9.449 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007133/0.4048, allocations: 0.5257 MB / 0.5819 GB, free: 8.777 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.4059, allocations: 0.8182 MB / 0.5827 GB, free: 7.809 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.4059, allocations: 4 kB / 0.5827 GB, free: 7.805 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001383/0.4073, allocations: 0.8596 MB / 0.5835 GB, free: 6.938 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.4073, allocations: 8 kB / 0.5835 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.4073, allocations: 16.81 kB / 0.5835 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/0.4073, allocations: 16 kB / 0.5835 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009484/0.4083, allocations: 267.6 kB / 0.5838 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.31e-05/0.4083, allocations: 19.94 kB / 0.5838 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003969/0.4087, allocations: 27.98 kB / 0.5838 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.956e-05/0.4088, allocations: 48 kB / 0.5839 GB, free: 6.543 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.0003982/0.4092, allocations: 238 kB / 0.5841 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.4093, allocations: 71.58 kB / 0.5842 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.4106, allocations: 0.6953 MB / 0.5849 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.4106, allocations: 8 kB / 0.5849 GB, free: 5.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.4106, allocations: 0 / 0.5849 GB, free: 5.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.4107, allocations: 3.938 kB / 0.5849 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.4117, allocations: 0.7362 MB / 0.5856 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.4117, allocations: 3.984 kB / 0.5856 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007304/0.4125, allocations: 175.8 kB / 0.5858 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.4125, allocations: 8.125 kB / 0.5858 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.4125, allocations: 19.94 kB / 0.5858 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.4125, allocations: 7.938 kB / 0.5858 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4125, allocations: 4 kB / 0.5858 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.4139, allocations: 0.9607 MB / 0.5867 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.4142, allocations: 115.5 kB / 0.5868 GB, free: 3.402 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.65e-05/0.4143, allocations: 15.94 kB / 0.5869 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.4145, allocations: 15.98 kB / 0.5869 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.4147, allocations: 52.66 kB / 0.5869 GB, free: 3.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/0.4147, allocations: 27.98 kB / 0.587 GB, free: 3.293 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003802/0.4151, allocations: 342.8 kB / 0.5873 GB, free: 2.961 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4151, allocations: 0 / 0.5873 GB, free: 2.961 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001369/0.4165, allocations: 494.6 kB / 0.5878 GB, free: 2.477 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.002773/0.4192, allocations: 1.988 MB / 0.5897 GB, free: 456 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009988/0.4202, allocations: 0.5702 MB / 0.5903 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.4202, allocations: 4.062 kB / 0.5903 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003991/0.4206, allocations: 259.6 kB / 0.5905 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007799/0.4214, allocations: 161.1 kB / 0.5907 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007984/0.4294, allocations: 6.143 MB / 0.5967 GB, free: 8.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006125/0.43, allocations: 0.9539 MB / 0.5976 GB, free: 7.926 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005191/0.4305, allocations: 165.5 kB / 0.5977 GB, free: 7.762 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004755/0.431, allocations: 347.3 kB / 0.5981 GB, free: 7.422 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.431, allocations: 7.938 kB / 0.5981 GB, free: 7.414 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05878/0.4898, allocations: 21.76 MB / 0.6193 GB, free: 1.816 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.32, allocations: 7.922 kB / 0.6193 GB, free: 1.809 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.sim & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_SimpleReaction2.fmu > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.992770919998293] Failed to read output from testmodel.py, exit status != 0: 12.427298149996204 12.443793288 12.063690775 Calling exit ...