Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001745/0.001745, 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.001391/0.001391, allocations: 214.2 kB / 22.24 MB, free: 5.262 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.352/1.352, allocations: 230.6 MB / 256 MB, free: 7.797 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.1294/0.1294, allocations: 23.93 MB / 336.4 MB, free: 11.03 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.CheckSubstancesData.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,fileNamePrefix="Chemical_master_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.002017/0.002017, allocations: 67.91 kB / 471.2 MB, free: 7.484 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3106, allocations: 59.87 MB / 0.5186 GB, free: 9.461 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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 master/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.06958/0.3802, allocations: 24.09 MB / 0.5421 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.3921, allocations: 8.07 MB / 0.55 GB, free: 7.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005471/0.3926, allocations: 11.88 kB / 0.55 GB, free: 7.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006855/0.3933, allocations: 200.5 kB / 0.5502 GB, free: 7.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.3945, allocations: 366.2 kB / 0.5506 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004168/0.3987, allocations: 1.438 MB / 0.552 GB, free: 6.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.3998, allocations: 0.6713 MB / 0.5526 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004659/0.4003, allocations: 192.6 kB / 0.5528 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003754/0.4006, allocations: 327.8 kB / 0.5531 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004691/0.4011, allocations: 352.7 kB / 0.5535 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.611e-05/0.4012, allocations: 32 kB / 0.5535 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002108/0.4033, allocations: 0.8054 MB / 0.5543 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.4035, allocations: 120.9 kB / 0.5544 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.4037, allocations: 215.7 kB / 0.5546 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002413/0.4061, allocations: 1.52 MB / 0.5561 GB, free: 2.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4061, allocations: 0.75 kB / 0.5561 GB, free: 2.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4061, allocations: 0 / 0.5561 GB, free: 2.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.4061, allocations: 0 / 0.5561 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.001436/0.4076, allocations: 0.8861 MB / 0.5569 GB, free: 1.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.4076, allocations: 12.73 kB / 0.557 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.88e-05/0.4077, allocations: 74.05 kB / 0.557 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007325/0.4084, allocations: 154.5 kB / 0.5572 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007315/0.4092, allocations: 398.9 kB / 0.5576 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.4092, allocations: 25.03 kB / 0.5576 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.332e-05/0.4093, allocations: 31.94 kB / 0.5576 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008539/0.4101, allocations: 0.5296 MB / 0.5581 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.4101, allocations: 4 kB / 0.5581 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.44e-05/0.4102, allocations: 8 kB / 0.5581 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.4102, allocations: 8.562 kB / 0.5582 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.4114, allocations: 0.7946 MB / 0.5589 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002561/0.414, allocations: 1.783 MB / 0.5607 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.4144, allocations: 201 kB / 0.5609 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.4146, allocations: 122.8 kB / 0.561 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002693/0.4173, allocations: 1.299 MB / 0.5622 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.4173, allocations: 31.69 kB / 0.5623 GB, free: 12.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.4173, allocations: 3.938 kB / 0.5623 GB, free: 12.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005902/0.4179, allocations: 293.7 kB / 0.5626 GB, free: 12.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.418, allocations: 60.09 kB / 0.5626 GB, free: 12.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005543/0.4185, allocations: 489.3 kB / 0.5631 GB, free: 12.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.4186, allocations: 33.7 kB / 0.5631 GB, free: 12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.4188, allocations: 293.3 kB / 0.5634 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.442e-05/0.4189, allocations: 70.05 kB / 0.5635 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.419, allocations: 101.5 kB / 0.5636 GB, free: 11.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.4192, allocations: 361.9 kB / 0.5639 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.4194, allocations: 87.12 kB / 0.564 GB, free: 11.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003983/0.4198, allocations: 369 kB / 0.5643 GB, free: 10.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006071/0.4204, allocations: 0.4886 MB / 0.5648 GB, free: 10.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.4204, allocations: 4 kB / 0.5648 GB, free: 10.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007668/0.4212, allocations: 489.5 kB / 0.5653 GB, free: 9.543 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4212, allocations: 14.91 kB / 0.5653 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.028e-05/0.4212, allocations: 16.16 kB / 0.5653 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.4212, allocations: 12 kB / 0.5653 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.4215, allocations: 107.8 kB / 0.5654 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/0.4216, allocations: 19.92 kB / 0.5654 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.4218, allocations: 63.5 kB / 0.5655 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.4219, allocations: 36 kB / 0.5655 GB, free: 9.281 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.0001865/0.4221, allocations: 169.6 kB / 0.5657 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.9e-05/0.4221, allocations: 47.67 kB / 0.5658 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006703/0.4228, allocations: 399.8 kB / 0.5661 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.4228, allocations: 4 kB / 0.5661 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4228, allocations: 0 / 0.5661 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4228, allocations: 3.938 kB / 0.5661 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008336/0.4237, allocations: 0.6695 MB / 0.5668 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4237, allocations: 3.938 kB / 0.5668 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.572e-05/0.4237, allocations: 11.98 kB / 0.5668 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.4237, allocations: 4 kB / 0.5668 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.4237, allocations: 192 / 0.5668 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.4237, allocations: 11.94 kB / 0.5668 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4237, allocations: 0 / 0.5668 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.424, allocations: 197.1 kB / 0.567 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.4241, allocations: 59.59 kB / 0.5671 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.398e-05/0.4242, allocations: 11.88 kB / 0.5671 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.4243, allocations: 7.922 kB / 0.5671 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.4243, allocations: 11.98 kB / 0.5671 GB, free: 7.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.4243, allocations: 4 kB / 0.5671 GB, free: 7.527 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004831/0.4248, allocations: 414.8 kB / 0.5675 GB, free: 7.125 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4248, allocations: 0 / 0.5675 GB, free: 7.125 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007483/0.4255, allocations: 247.2 kB / 0.5677 GB, free: 6.883 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.001105/0.4267, allocations: 1.037 MB / 0.5687 GB, free: 5.797 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003915/0.427, allocations: 230 kB / 0.569 GB, free: 5.574 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.427, allocations: 0 / 0.569 GB, free: 5.574 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.038e-05/0.4271, allocations: 27.92 kB / 0.569 GB, free: 5.547 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005655/0.4277, allocations: 127.2 kB / 0.5691 GB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004886/0.4325, allocations: 4.148 MB / 0.5732 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.4328, allocations: 215.8 kB / 0.5734 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003633/0.4331, allocations: 136.1 kB / 0.5735 GB, free: 0.543 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.4334, allocations: 167.4 kB / 0.5737 GB, free: 388 kB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4334, allocations: 0 / 0.5737 GB, free: 388 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0434/0.4768, allocations: 14.51 MB / 0.5878 GB, free: 2.023 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.32, allocations: 0 / 0.5878 GB, free: 2.023 MB / 430.1 MB " [Timeout remaining time 649] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2.fmu > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.916192814009264] Failed to read output from testmodel.py, exit status != 0: 11.432740259013372 11.45954123 11.048234221 Calling exit ...