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.001752/0.001752, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002251/0.002251, allocations: 216 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.801 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.1474/0.1474, allocations: 23.99 MB / 336.4 MB, free: 10.84 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.002363/0.002363, allocations: 67.89 kB / 471.3 MB, free: 7.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3326, allocations: 59.9 MB / 0.5187 GB, free: 9.449 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.0699/0.4025, allocations: 24.17 MB / 0.5423 GB, free: 15.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.4148, allocations: 8.074 MB / 0.5502 GB, free: 7.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005381/0.4154, allocations: 11.88 kB / 0.5502 GB, free: 7.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007476/0.4161, allocations: 203.9 kB / 0.5504 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.4173, allocations: 363.6 kB / 0.5508 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004233/0.4216, allocations: 1.436 MB / 0.5522 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001204/0.4228, allocations: 0.6675 MB / 0.5528 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003963/0.4232, allocations: 196.9 kB / 0.553 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004919/0.4237, allocations: 323.2 kB / 0.5533 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006497/0.4243, allocations: 333.7 kB / 0.5536 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.4245, allocations: 36 kB / 0.5537 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.4267, allocations: 0.7821 MB / 0.5544 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.4268, allocations: 124.5 kB / 0.5546 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003123/0.4272, allocations: 211.9 kB / 0.5548 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003187/0.4303, allocations: 1.524 MB / 0.5562 GB, free: 2.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.4304, allocations: 0 / 0.5562 GB, free: 2.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4304, allocations: 3.938 kB / 0.5563 GB, free: 2.422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.003e-05/0.4304, allocations: 0 / 0.5563 GB, free: 2.422 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.001896/0.4323, allocations: 0.8828 MB / 0.5571 GB, free: 1.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.4323, allocations: 8.031 kB / 0.5571 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.4324, allocations: 74.48 kB / 0.5572 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000828/0.4333, allocations: 163 kB / 0.5573 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008167/0.4341, allocations: 394.1 kB / 0.5577 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.4341, allocations: 21.03 kB / 0.5577 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.208e-05/0.4342, allocations: 35.94 kB / 0.5578 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009923/0.4352, allocations: 0.5263 MB / 0.5583 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.4352, allocations: 4 kB / 0.5583 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.85e-05/0.4352, allocations: 12 kB / 0.5583 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.4353, allocations: 8 kB / 0.5583 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.4367, allocations: 0.8042 MB / 0.5591 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003093/0.4398, allocations: 1.791 MB / 0.5608 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004848/0.4403, allocations: 197.2 kB / 0.561 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.4405, allocations: 122.8 kB / 0.5612 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003002/0.4435, allocations: 1.288 MB / 0.5624 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.4436, allocations: 39.64 kB / 0.5624 GB, free: 12.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.084e-06/0.4436, allocations: 0 / 0.5624 GB, free: 12.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006719/0.4442, allocations: 292.3 kB / 0.5627 GB, free: 12.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.4443, allocations: 52.06 kB / 0.5628 GB, free: 12.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006397/0.4449, allocations: 497.2 kB / 0.5633 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.4449, allocations: 25.7 kB / 0.5633 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.4452, allocations: 316.6 kB / 0.5636 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.241e-05/0.4453, allocations: 55.55 kB / 0.5636 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.4454, allocations: 98.03 kB / 0.5637 GB, free: 11.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.4456, allocations: 362.7 kB / 0.5641 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.4458, allocations: 92.77 kB / 0.5642 GB, free: 10.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.4462, allocations: 361.1 kB / 0.5645 GB, free: 10.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006848/0.4469, allocations: 0.4964 MB / 0.565 GB, free: 9.855 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/0.4469, allocations: 8 kB / 0.565 GB, free: 9.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009218/0.4478, allocations: 480.7 kB / 0.5655 GB, free: 9.371 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.4479, allocations: 13 kB / 0.5655 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.4479, allocations: 8 kB / 0.5655 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.847e-05/0.4479, allocations: 16 kB / 0.5655 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.4482, allocations: 119.8 kB / 0.5656 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.541e-05/0.4483, allocations: 19.92 kB / 0.5656 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.4486, allocations: 67.45 kB / 0.5657 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/0.4486, allocations: 32 kB / 0.5657 GB, free: 9.102 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.0002542/0.4489, allocations: 177.6 kB / 0.5659 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.083e-05/0.449, allocations: 47.67 kB / 0.5659 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007555/0.4497, allocations: 399.8 kB / 0.5663 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4497, allocations: 0 / 0.5663 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4497, allocations: 4 kB / 0.5663 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.4498, allocations: 11.91 kB / 0.5663 GB, free: 8.422 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009448/0.4507, allocations: 0.6539 MB / 0.567 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.4507, allocations: 7.938 kB / 0.567 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.831e-05/0.4508, allocations: 11.98 kB / 0.567 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4508, allocations: 0 / 0.567 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.4508, allocations: 4 kB / 0.567 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.4508, allocations: 11.88 kB / 0.567 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4508, allocations: 4.188 kB / 0.567 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.4511, allocations: 193.1 kB / 0.5672 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.4512, allocations: 59.53 kB / 0.5672 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.186e-05/0.4513, allocations: 11.95 kB / 0.5673 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.4514, allocations: 7.984 kB / 0.5673 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.4515, allocations: 7.938 kB / 0.5673 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.4515, allocations: 0 / 0.5673 GB, free: 7.352 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005383/0.452, allocations: 418.8 kB / 0.5677 GB, free: 6.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.452, allocations: 0 / 0.5677 GB, free: 6.945 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000921/0.4529, allocations: 255.1 kB / 0.5679 GB, free: 6.695 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.001478/0.4544, allocations: 1.037 MB / 0.5689 GB, free: 5.609 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004875/0.4549, allocations: 216.4 kB / 0.5691 GB, free: 5.398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4549, allocations: 0 / 0.5691 GB, free: 5.398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.849e-05/0.455, allocations: 37.61 kB / 0.5692 GB, free: 5.363 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006357/0.4556, allocations: 117 kB / 0.5693 GB, free: 5.254 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00627/0.4619, allocations: 4.152 MB / 0.5733 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.4621, allocations: 207.8 kB / 0.5735 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000447/0.4626, allocations: 132.3 kB / 0.5737 GB, free: 384 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/0.4628, allocations: 175.4 kB / 0.5738 GB, free: 208 kB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4628, allocations: 0 / 0.5738 GB, free: 208 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04885/0.5117, allocations: 14.41 MB / 0.5879 GB, free: 1.953 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.2, allocations: 6.859 kB / 0.5879 GB, free: 1.949 MB / 430.1 MB " [Timeout remaining time 648] (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: 15.08764406107366] Failed to read output from testmodel.py, exit status != 0: 12.32130145188421 12.350546829 11.91468282 Calling exit ...