Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.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.001397/0.001397, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.00184/0.00184, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.773 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.1654/0.1654, allocations: 23.89 MB / 336.3 MB, free: 10.94 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.CheckSubstancesData.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_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.002277/0.002277, allocations: 71.89 kB / 471.1 MB, free: 7.488 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3507, allocations: 59.86 MB / 0.5185 GB, free: 9.566 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65: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:12638:6-12638:65: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.CheckSubstancesData.SimpleReaction2): time 0.07214/0.4228, allocations: 24.17 MB / 0.5421 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01348/0.4363, allocations: 8.078 MB / 0.55 GB, free: 7.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007117/0.437, allocations: 11.88 kB / 0.55 GB, free: 7.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009134/0.438, allocations: 196.3 kB / 0.5502 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001532/0.4395, allocations: 366.5 kB / 0.5506 GB, free: 7.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004656/0.4441, allocations: 1.443 MB / 0.552 GB, free: 6.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.4455, allocations: 0.6664 MB / 0.5526 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004843/0.446, allocations: 197.3 kB / 0.5528 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000566/0.4466, allocations: 327.8 kB / 0.5531 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007064/0.4473, allocations: 331.8 kB / 0.5534 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.4474, allocations: 36 kB / 0.5535 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003016/0.4505, allocations: 0.7742 MB / 0.5542 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.4507, allocations: 120.6 kB / 0.5544 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000477/0.4512, allocations: 219.5 kB / 0.5546 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004274/0.4555, allocations: 1.517 MB / 0.556 GB, free: 2.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4555, allocations: 4 kB / 0.556 GB, free: 2.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4555, allocations: 0 / 0.556 GB, free: 2.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.063e-05/0.4555, allocations: 0 / 0.556 GB, free: 2.566 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002174/0.4577, allocations: 0.8904 MB / 0.5569 GB, free: 1.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.4577, allocations: 8.031 kB / 0.5569 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/0.4579, allocations: 66.3 kB / 0.557 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000971/0.4588, allocations: 163.1 kB / 0.5571 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009466/0.4598, allocations: 394 kB / 0.5575 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.4598, allocations: 25.03 kB / 0.5575 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.841e-05/0.4599, allocations: 35.94 kB / 0.5576 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.4611, allocations: 0.5302 MB / 0.5581 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.4611, allocations: 3.938 kB / 0.5581 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.493e-05/0.4612, allocations: 16 kB / 0.5581 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.4612, allocations: 8 kB / 0.5581 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/0.4627, allocations: 0.7945 MB / 0.5589 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003257/0.466, allocations: 1.782 MB / 0.5606 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.4665, allocations: 205.4 kB / 0.5608 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.4668, allocations: 122.6 kB / 0.561 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003208/0.47, allocations: 1.284 MB / 0.5622 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.47, allocations: 35.17 kB / 0.5622 GB, free: 12.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.823e-06/0.47, allocations: 0 / 0.5622 GB, free: 12.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007686/0.4708, allocations: 298 kB / 0.5625 GB, free: 12.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.4708, allocations: 55.97 kB / 0.5626 GB, free: 12.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006637/0.4715, allocations: 493.3 kB / 0.563 GB, free: 12.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.4715, allocations: 25.7 kB / 0.5631 GB, free: 12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.4718, allocations: 301.6 kB / 0.5634 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.551e-05/0.4719, allocations: 65.5 kB / 0.5634 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.472, allocations: 102.2 kB / 0.5635 GB, free: 11.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.4722, allocations: 361.3 kB / 0.5639 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.4724, allocations: 92.48 kB / 0.564 GB, free: 11.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/0.4728, allocations: 365 kB / 0.5643 GB, free: 10.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007153/0.4736, allocations: 0.4886 MB / 0.5648 GB, free: 10.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.4736, allocations: 4 kB / 0.5648 GB, free: 10.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009646/0.4745, allocations: 496.8 kB / 0.5653 GB, free: 9.531 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.4746, allocations: 10.97 kB / 0.5653 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.4746, allocations: 12 kB / 0.5653 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.265e-05/0.4746, allocations: 12.75 kB / 0.5653 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.475, allocations: 107.8 kB / 0.5654 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.757e-05/0.475, allocations: 23.92 kB / 0.5654 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003652/0.4754, allocations: 59.5 kB / 0.5655 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.01e-05/0.4754, allocations: 36 kB / 0.5655 GB, free: 9.277 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 50 * 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.0002459/0.4757, allocations: 173.6 kB / 0.5657 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.4758, allocations: 51.67 kB / 0.5657 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008346/0.4766, allocations: 399.8 kB / 0.5661 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4766, allocations: 0 / 0.5661 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4766, allocations: 64 / 0.5661 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.4766, allocations: 11.94 kB / 0.5661 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.4778, allocations: 0.6656 MB / 0.5668 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.4778, allocations: 3.938 kB / 0.5668 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.323e-05/0.4779, allocations: 19.92 kB / 0.5668 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.4779, allocations: 0 / 0.5668 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.4779, allocations: 4 kB / 0.5668 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4779, allocations: 0 / 0.5668 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.4779, allocations: 4 kB / 0.5668 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.4783, allocations: 205.1 kB / 0.567 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.4784, allocations: 59.58 kB / 0.567 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.458e-05/0.4785, allocations: 7.953 kB / 0.5671 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.4787, allocations: 0 / 0.5671 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.4787, allocations: 7.984 kB / 0.5671 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.4787, allocations: 7.938 kB / 0.5671 GB, free: 7.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005907/0.4793, allocations: 414.8 kB / 0.5675 GB, free: 7.117 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4793, allocations: 0 / 0.5675 GB, free: 7.117 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000967/0.4803, allocations: 251.1 kB / 0.5677 GB, free: 6.871 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (6): * Single equations (assignments): 6 * 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.001495/0.4818, allocations: 1.041 MB / 0.5687 GB, free: 5.781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004802/0.4822, allocations: 221.2 kB / 0.5689 GB, free: 5.566 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4822, allocations: 0 / 0.5689 GB, free: 5.566 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.599e-05/0.4823, allocations: 31.92 kB / 0.569 GB, free: 5.535 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006155/0.4829, allocations: 119.6 kB / 0.5691 GB, free: 5.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006127/0.489, allocations: 4.16 MB / 0.5731 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.4893, allocations: 203.8 kB / 0.5733 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004564/0.4897, allocations: 140.1 kB / 0.5735 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.49, allocations: 171.4 kB / 0.5736 GB, free: 380 kB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.49, allocations: 0 / 0.5736 GB, free: 380 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05039/0.5404, allocations: 14.42 MB / 0.5877 GB, free: 2.109 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.34, allocations: 3.984 kB / 0.5877 GB, free: 2.105 MB / 430.1 MB " [Timeout remaining time 648] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_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_CheckSubstancesData_SimpleReaction2.fmu > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.227979062590748] Failed to read output from testmodel.py, exit status != 0: 12.455740004312247 12.485997571 12.02502102 Calling exit ...