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.001341/0.001341, allocations: 105.1 kB / 16.45 MB, free: 6.453 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.001429/0.001429, allocations: 213.7 kB / 19.43 MB, free: 3.625 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 / 252.8 MB, free: 8.973 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.1444/0.1444, allocations: 23.85 MB / 332.7 MB, free: 12.38 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.003025/0.003025, allocations: 63.91 kB / 466 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3135, allocations: 59.82 MB / 0.5135 GB, free: 8.836 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.03449/0.348, allocations: 24.06 MB / 0.537 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.3597, allocations: 9.24 MB / 0.546 GB, free: 7.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004438/0.3602, allocations: 11.88 kB / 0.546 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006624/0.3608, allocations: 223.9 kB / 0.5462 GB, free: 7.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.3618, allocations: 360.7 kB / 0.5466 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003858/0.3657, allocations: 1.422 MB / 0.5479 GB, free: 6.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.3668, allocations: 0.6678 MB / 0.5486 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003166/0.3671, allocations: 200.4 kB / 0.5488 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003745/0.3675, allocations: 334.8 kB / 0.5491 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004779/0.3679, allocations: 353 kB / 0.5494 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.345e-05/0.368, allocations: 36 kB / 0.5495 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/0.3704, allocations: 0.8309 MB / 0.5503 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.3706, allocations: 120.5 kB / 0.5504 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002823/0.3709, allocations: 255.5 kB / 0.5506 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002763/0.3736, allocations: 1.532 MB / 0.5521 GB, free: 2.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3736, allocations: 0 / 0.5521 GB, free: 2.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3736, allocations: 4 kB / 0.5521 GB, free: 2.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.178e-06/0.3736, allocations: 0 / 0.5521 GB, free: 2.535 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.00161/0.3752, allocations: 0.9624 MB / 0.5531 GB, free: 1.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3753, allocations: 12.03 kB / 0.5531 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.399e-05/0.3754, allocations: 65.45 kB / 0.5532 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008013/0.3762, allocations: 163.2 kB / 0.5533 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007408/0.3769, allocations: 459.6 kB / 0.5538 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.3769, allocations: 21.03 kB / 0.5538 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.377, allocations: 40.62 kB / 0.5538 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009112/0.378, allocations: 0.5251 MB / 0.5543 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.378, allocations: 0.75 kB / 0.5543 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.926e-05/0.378, allocations: 12 kB / 0.5543 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.378, allocations: 8 kB / 0.5543 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.3794, allocations: 0.812 MB / 0.5551 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002636/0.382, allocations: 1.889 MB / 0.557 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.3825, allocations: 194 kB / 0.5572 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.3827, allocations: 134.4 kB / 0.5573 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003587/0.3863, allocations: 2.71 MB / 0.5599 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.3863, allocations: 42.5 kB / 0.56 GB, free: 10.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.3863, allocations: 0 / 0.56 GB, free: 10.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006872/0.387, allocations: 301.8 kB / 0.5603 GB, free: 10.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.3871, allocations: 51.41 kB / 0.5603 GB, free: 10.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000576/0.3876, allocations: 477.5 kB / 0.5608 GB, free: 10.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.3877, allocations: 25.7 kB / 0.5608 GB, free: 10.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.3879, allocations: 309.2 kB / 0.5611 GB, free: 9.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.25e-05/0.388, allocations: 62.59 kB / 0.5612 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.3881, allocations: 97.28 kB / 0.5613 GB, free: 9.621 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.3883, allocations: 361.9 kB / 0.5616 GB, free: 9.273 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.3885, allocations: 90.52 kB / 0.5617 GB, free: 9.199 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.389, allocations: 356.9 kB / 0.562 GB, free: 8.742 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006652/0.3896, allocations: 0.4926 MB / 0.5625 GB, free: 8.137 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.3896, allocations: 8 kB / 0.5625 GB, free: 8.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008362/0.3905, allocations: 489.2 kB / 0.563 GB, free: 7.688 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.3905, allocations: 12 kB / 0.563 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.3905, allocations: 8.094 kB / 0.563 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/0.3905, allocations: 16.56 kB / 0.563 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.3909, allocations: 112.1 kB / 0.5631 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/0.3909, allocations: 17.86 kB / 0.5631 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/0.3912, allocations: 60.3 kB / 0.5632 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.283e-05/0.3912, allocations: 33.36 kB / 0.5632 GB, free: 7.449 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.0002059/0.3914, allocations: 173.2 kB / 0.5634 GB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.43e-05/0.3915, allocations: 51.67 kB / 0.5634 GB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007966/0.3923, allocations: 411.8 kB / 0.5638 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.3923, allocations: 4 kB / 0.5638 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3923, allocations: 0 / 0.5638 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.3923, allocations: 4.641 kB / 0.5638 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009233/0.3932, allocations: 0.723 MB / 0.5645 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3932, allocations: 3.938 kB / 0.5646 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.462e-05/0.3933, allocations: 11.94 kB / 0.5646 GB, free: 6.012 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.3933, allocations: 4 kB / 0.5646 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3933, allocations: 3.984 kB / 0.5646 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3933, allocations: 4 kB / 0.5646 GB, free: 6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3933, allocations: 0 / 0.5646 GB, free: 6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.3936, allocations: 205 kB / 0.5648 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.3937, allocations: 128.8 kB / 0.5649 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.598e-05/0.3938, allocations: 15.89 kB / 0.5649 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.3939, allocations: 0 / 0.5649 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.394, allocations: 11.98 kB / 0.5649 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.394, allocations: 4 kB / 0.5649 GB, free: 5.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005183/0.3945, allocations: 410.8 kB / 0.5653 GB, free: 5.191 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3945, allocations: 3.938 kB / 0.5653 GB, free: 5.188 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008084/0.3953, allocations: 255.1 kB / 0.5656 GB, free: 4.938 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.001207/0.3965, allocations: 1.034 MB / 0.5666 GB, free: 3.855 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004417/0.3969, allocations: 217.2 kB / 0.5668 GB, free: 3.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3969, allocations: 4.812 kB / 0.5668 GB, free: 3.641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.338e-05/0.397, allocations: 43.91 kB / 0.5668 GB, free: 3.598 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.3976, allocations: 113.4 kB / 0.5669 GB, free: 3.492 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005194/0.4028, allocations: 4.141 MB / 0.571 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.4032, allocations: 0.8152 MB / 0.5718 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003836/0.4036, allocations: 136.1 kB / 0.5719 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.4039, allocations: 163.4 kB / 0.5721 GB, free: 13.83 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4039, allocations: 0 / 0.5721 GB, free: 13.83 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03935/0.4432, allocations: 13.33 MB / 0.5851 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.931/9.374, allocations: 15.19 kB / 0.5851 GB, free: 0.5664 MB / 430.1 MB " [Timeout remaining time 651] (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: 12.184696045995224] Failed to read output from testmodel.py, exit status != 0: 9.457383930013748 9.484395675 9.105444447 Calling exit ...