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.001321/0.001321, allocations: 102 kB / 16.45 MB, free: 6.5 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.001439/0.001439, allocations: 210.4 kB / 19.43 MB, free: 3.656 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 / 252.8 MB, free: 8.992 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.1349/0.1349, allocations: 23.88 MB / 332.7 MB, free: 12.33 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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.002047/0.002047, allocations: 67.91 kB / 466 MB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3196, allocations: 59.82 MB / 0.5135 GB, free: 8.836 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.03688/0.3565, allocations: 24.23 MB / 0.5372 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.3685, allocations: 9.248 MB / 0.5462 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006367/0.3691, allocations: 11.88 kB / 0.5462 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008058/0.3699, allocations: 212.2 kB / 0.5464 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001307/0.3712, allocations: 373.4 kB / 0.5468 GB, free: 7.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004746/0.376, allocations: 1.422 MB / 0.5482 GB, free: 6.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.3771, allocations: 0.6637 MB / 0.5488 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003298/0.3774, allocations: 203.6 kB / 0.549 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003947/0.3778, allocations: 330.4 kB / 0.5493 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004842/0.3783, allocations: 358.3 kB / 0.5497 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.501e-05/0.3784, allocations: 36 kB / 0.5497 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.3807, allocations: 0.8298 MB / 0.5505 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.3809, allocations: 121 kB / 0.5506 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.3812, allocations: 254.9 kB / 0.5509 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.3836, allocations: 1.531 MB / 0.5524 GB, free: 2.281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3836, allocations: 0.7031 kB / 0.5524 GB, free: 2.281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3836, allocations: 0 / 0.5524 GB, free: 2.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.3837, allocations: 4 kB / 0.5524 GB, free: 2.277 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.001458/0.3851, allocations: 0.9583 MB / 0.5533 GB, free: 1.332 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3852, allocations: 11.97 kB / 0.5533 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.196e-05/0.3852, allocations: 70.02 kB / 0.5534 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007818/0.386, allocations: 163 kB / 0.5536 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006879/0.3867, allocations: 463.9 kB / 0.554 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.3867, allocations: 21.03 kB / 0.554 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-05/0.3868, allocations: 31.94 kB / 0.5541 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009371/0.3878, allocations: 0.5298 MB / 0.5546 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3878, allocations: 0 / 0.5546 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.332e-05/0.3878, allocations: 12 kB / 0.5546 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.3878, allocations: 8 kB / 0.5546 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.3892, allocations: 0.8078 MB / 0.5554 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/0.3919, allocations: 1.885 MB / 0.5572 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.3924, allocations: 197.4 kB / 0.5574 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.3927, allocations: 131 kB / 0.5575 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00374/0.3964, allocations: 2.718 MB / 0.5602 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.3965, allocations: 43.17 kB / 0.5602 GB, free: 10.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.3965, allocations: 0 / 0.5602 GB, free: 10.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006609/0.3971, allocations: 297 kB / 0.5605 GB, free: 10.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.3972, allocations: 51.41 kB / 0.5606 GB, free: 10.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000596/0.3978, allocations: 477.9 kB / 0.561 GB, free: 9.832 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.3978, allocations: 25.7 kB / 0.561 GB, free: 9.801 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.3981, allocations: 309.6 kB / 0.5613 GB, free: 9.516 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/0.3981, allocations: 61.27 kB / 0.5614 GB, free: 9.461 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.3983, allocations: 102.1 kB / 0.5615 GB, free: 9.363 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.3984, allocations: 361.8 kB / 0.5618 GB, free: 9.016 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.3986, allocations: 94.42 kB / 0.5619 GB, free: 8.938 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/0.399, allocations: 365.5 kB / 0.5623 GB, free: 8.473 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006427/0.3997, allocations: 499.6 kB / 0.5628 GB, free: 7.871 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.3997, allocations: 8 kB / 0.5628 GB, free: 7.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008433/0.4005, allocations: 485 kB / 0.5632 GB, free: 7.426 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.4005, allocations: 12.8 kB / 0.5632 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.4006, allocations: 11.98 kB / 0.5632 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.4006, allocations: 16.03 kB / 0.5633 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.4009, allocations: 115.7 kB / 0.5634 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.227e-05/0.401, allocations: 18.7 kB / 0.5634 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.4012, allocations: 56.41 kB / 0.5634 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.4013, allocations: 32.7 kB / 0.5635 GB, free: 7.184 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.0002015/0.4015, allocations: 180.7 kB / 0.5636 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.649e-05/0.4016, allocations: 48.38 kB / 0.5637 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007459/0.4023, allocations: 387.6 kB / 0.5641 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4023, allocations: 11.94 kB / 0.5641 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4023, allocations: 0.7031 kB / 0.5641 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.4023, allocations: 3.938 kB / 0.5641 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008821/0.4032, allocations: 0.7218 MB / 0.5648 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.4032, allocations: 7.875 kB / 0.5648 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.604e-05/0.4033, allocations: 11.98 kB / 0.5648 GB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.4033, allocations: 4 kB / 0.5648 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.4033, allocations: 0 / 0.5648 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4033, allocations: 4 kB / 0.5648 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4033, allocations: 3.938 kB / 0.5648 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.4036, allocations: 201 kB / 0.565 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.4037, allocations: 132.8 kB / 0.5651 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-05/0.4038, allocations: 11.95 kB / 0.5651 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.4039, allocations: 7.984 kB / 0.5651 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.4039, allocations: 11.94 kB / 0.5652 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.4039, allocations: 4 kB / 0.5652 GB, free: 5.348 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005011/0.4044, allocations: 414.8 kB / 0.5656 GB, free: 4.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4044, allocations: 0 / 0.5656 GB, free: 4.945 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008585/0.4053, allocations: 251.1 kB / 0.5658 GB, free: 4.699 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.001227/0.4065, allocations: 1.041 MB / 0.5668 GB, free: 3.609 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004236/0.407, allocations: 221.3 kB / 0.567 GB, free: 3.395 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.407, allocations: 0.8125 kB / 0.567 GB, free: 3.395 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.826e-05/0.407, allocations: 43.98 kB / 0.5671 GB, free: 3.352 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005899/0.4076, allocations: 105.2 kB / 0.5672 GB, free: 3.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00527/0.4129, allocations: 4.141 MB / 0.5712 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.4133, allocations: 0.8191 MB / 0.572 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003964/0.4137, allocations: 136.3 kB / 0.5721 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.414, allocations: 167.4 kB / 0.5723 GB, free: 13.59 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.414, allocations: 0 / 0.5723 GB, free: 13.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04083/0.4548, allocations: 13.32 MB / 0.5853 GB, free: 368 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.015/9.47, allocations: 8.062 kB / 0.5853 GB, free: 360 kB / 430.1 MB " [Timeout remaining time 650] (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: 12.24006323586218] Failed to read output from testmodel.py, exit status != 0: 9.550824669189751 9.577923915 9.189322467 Calling exit ...