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.001344/0.001344, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001468/0.001468, allocations: 219.6 kB / 22.25 MB, free: 5.254 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.75 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.1473/0.1473, allocations: 23.93 MB / 336.4 MB, free: 10.9 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.001916/0.001916, allocations: 71.88 kB / 471.2 MB, free: 7.445 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3161, allocations: 59.87 MB / 0.5186 GB, free: 9.773 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.07159/0.3877, allocations: 25.44 MB / 0.5434 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01485/0.4026, allocations: 10.26 MB / 0.5535 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.4038, allocations: 19.81 kB / 0.5535 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000891/0.4047, allocations: 249.5 kB / 0.5537 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00343/0.4081, allocations: 0.9927 MB / 0.5547 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005283/0.4134, allocations: 1.529 MB / 0.5562 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002167/0.4155, allocations: 1.255 MB / 0.5574 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009026/0.4164, allocations: 0.5769 MB / 0.558 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008604/0.4173, allocations: 0.6198 MB / 0.5586 GB, free: 388 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.4184, allocations: 0.675 MB / 0.5592 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.4185, allocations: 108 kB / 0.5593 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003733/0.4223, allocations: 1.247 MB / 0.5606 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003169/0.4226, allocations: 266.6 kB / 0.5608 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000553/0.4231, allocations: 472.1 kB / 0.5613 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006032/0.4292, allocations: 2.584 MB / 0.5638 GB, free: 11.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4292, allocations: 0 / 0.5638 GB, free: 11.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4292, allocations: 0 / 0.5638 GB, free: 11.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.4292, allocations: 4 kB / 0.5638 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.00273/0.4319, allocations: 1.446 MB / 0.5652 GB, free: 10.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.432, allocations: 8.031 kB / 0.5652 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.4321, allocations: 139.7 kB / 0.5653 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008808/0.433, allocations: 215.9 kB / 0.5655 GB, free: 9.812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009522/0.434, allocations: 0.527 MB / 0.5661 GB, free: 9.258 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.4341, allocations: 122 kB / 0.5662 GB, free: 9.125 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.4343, allocations: 88.38 kB / 0.5663 GB, free: 9.039 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.4359, allocations: 1.045 MB / 0.5673 GB, free: 7.977 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.4359, allocations: 0 / 0.5673 GB, free: 7.977 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-05/0.436, allocations: 36 kB / 0.5673 GB, free: 7.941 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.436, allocations: 23.98 kB / 0.5673 GB, free: 7.918 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.438, allocations: 1.261 MB / 0.5686 GB, free: 6.656 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.005087/0.4431, allocations: 2.822 MB / 0.5713 GB, free: 3.746 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/0.4453, allocations: 1.242 MB / 0.5725 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006307/0.446, allocations: 395.7 kB / 0.5729 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004564/0.4505, allocations: 2.088 MB / 0.575 GB, free: 0 / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.4506, allocations: 35.17 kB / 0.575 GB, free: 15.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 1.824e-06/0.4506, allocations: 3.938 kB / 0.575 GB, free: 15.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003162/0.4537, allocations: 1.603 MB / 0.5766 GB, free: 14.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.4538, allocations: 60.06 kB / 0.5766 GB, free: 14.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006304/0.4544, allocations: 0.53 MB / 0.5771 GB, free: 13.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.814e-05/0.4545, allocations: 37.7 kB / 0.5772 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003552/0.4548, allocations: 479.7 kB / 0.5776 GB, free: 13.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.455, allocations: 234 kB / 0.5779 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/0.4552, allocations: 170.6 kB / 0.578 GB, free: 12.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.4555, allocations: 374.8 kB / 0.5784 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003779/0.4558, allocations: 205.9 kB / 0.5786 GB, free: 12.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006564/0.4565, allocations: 0.5374 MB / 0.5791 GB, free: 11.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.4576, allocations: 0.8104 MB / 0.5799 GB, free: 10.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.4576, allocations: 4 kB / 0.5799 GB, free: 10.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001385/0.459, allocations: 0.8604 MB / 0.5807 GB, free: 9.684 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.459, allocations: 8.188 kB / 0.5807 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/0.459, allocations: 19.94 kB / 0.5808 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/0.4591, allocations: 16 kB / 0.5808 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009796/0.4601, allocations: 263.6 kB / 0.581 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.538e-05/0.4601, allocations: 23.88 kB / 0.581 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004336/0.4605, allocations: 28 kB / 0.5811 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.909e-05/0.4606, allocations: 51.98 kB / 0.5811 GB, free: 9.281 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.0003639/0.461, allocations: 237.5 kB / 0.5813 GB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.4611, allocations: 67.58 kB / 0.5814 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.4624, allocations: 0.6873 MB / 0.5821 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.4624, allocations: 7.938 kB / 0.5821 GB, free: 8.273 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.4624, allocations: 4 kB / 0.5821 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.4624, allocations: 7.984 kB / 0.5821 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.4634, allocations: 0.6738 MB / 0.5828 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4634, allocations: 0 / 0.5828 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007503/0.4642, allocations: 171.8 kB / 0.5829 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.4642, allocations: 8.062 kB / 0.5829 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-05/0.4642, allocations: 31.92 kB / 0.583 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.4642, allocations: 0 / 0.583 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4642, allocations: 7.938 kB / 0.583 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.4657, allocations: 0.9568 MB / 0.5839 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/0.4659, allocations: 111.5 kB / 0.584 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.563e-05/0.466, allocations: 23.94 kB / 0.584 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.4663, allocations: 16 kB / 0.584 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.4664, allocations: 48.56 kB / 0.5841 GB, free: 6.133 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.884e-05/0.4665, allocations: 31.98 kB / 0.5841 GB, free: 6.102 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004048/0.4669, allocations: 338.9 kB / 0.5844 GB, free: 5.773 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4669, allocations: 4 kB / 0.5845 GB, free: 5.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001459/0.4683, allocations: 486.6 kB / 0.5849 GB, free: 5.293 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.002864/0.4712, allocations: 1.992 MB / 0.5869 GB, free: 3.258 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.4723, allocations: 0.5731 MB / 0.5874 GB, free: 2.688 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4723, allocations: 0 / 0.5874 GB, free: 2.688 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000431/0.4727, allocations: 263.6 kB / 0.5877 GB, free: 2.426 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008291/0.4735, allocations: 160.9 kB / 0.5878 GB, free: 2.277 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00847/0.482, allocations: 6.143 MB / 0.5938 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.4824, allocations: 369.5 kB / 0.5942 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005352/0.4829, allocations: 165.4 kB / 0.5943 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004786/0.4834, allocations: 343.3 kB / 0.5947 GB, free: 10.83 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4834, allocations: 0 / 0.5947 GB, free: 10.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0592/0.5426, allocations: 22.47 MB / 0.6166 GB, free: 4.582 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.83, allocations: 3.984 kB / 0.6166 GB, free: 4.578 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.737601936998544] Failed to read output from testmodel.py, exit status != 0: 11.94164490699768 11.956993712 11.52476463 Calling exit ...