Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.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.001384/0.001384, allocations: 109.6 kB / 16.45 MB, free: 6.496 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.00154/0.00154, allocations: 213.7 kB / 19.42 MB, free: 3.66 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.478/1.478, allocations: 230.6 MB / 252.8 MB, free: 8.984 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.1403/0.1403, 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_Get_DfG,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",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.002011/0.002011, allocations: 67.89 kB / 466 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3284, allocations: 59.82 MB / 0.5135 GB, free: 8.871 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_Get_DfG): time 0.03857/0.367, allocations: 23.72 MB / 0.5366 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009272/0.3762, allocations: 6.349 MB / 0.5428 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006624/0.3769, allocations: 15.88 kB / 0.5428 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005867/0.3775, allocations: 156.2 kB / 0.543 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007654/0.3782, allocations: 257.4 kB / 0.5432 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002787/0.381, allocations: 0.9664 MB / 0.5442 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007254/0.3818, allocations: 0.5032 MB / 0.5447 GB, free: 9.301 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.3821, allocations: 186.5 kB / 0.5449 GB, free: 9.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003021/0.3824, allocations: 247.2 kB / 0.5451 GB, free: 8.934 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004022/0.3828, allocations: 269.6 kB / 0.5453 GB, free: 8.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.943e-05/0.3828, allocations: 28 kB / 0.5454 GB, free: 8.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.3844, allocations: 0.5629 MB / 0.5459 GB, free: 8.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.3845, allocations: 92.91 kB / 0.546 GB, free: 8.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.3847, allocations: 207.4 kB / 0.5462 GB, free: 7.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001828/0.3866, allocations: 1.089 MB / 0.5473 GB, free: 7.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3866, allocations: 4 kB / 0.5473 GB, free: 7.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3866, allocations: 0 / 0.5473 GB, free: 7.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.3866, allocations: 0 / 0.5473 GB, free: 7.004 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001278/0.3879, allocations: 0.8068 MB / 0.5481 GB, free: 6.199 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3879, allocations: 12.03 kB / 0.5481 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.52e-05/0.388, allocations: 61.27 kB / 0.5481 GB, free: 6.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005694/0.3886, allocations: 121.9 kB / 0.5483 GB, free: 6.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005992/0.3892, allocations: 392.5 kB / 0.5486 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.3892, allocations: 24.94 kB / 0.5486 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.261e-05/0.3893, allocations: 27.94 kB / 0.5487 GB, free: 5.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006964/0.3899, allocations: 439.2 kB / 0.5491 GB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.39, allocations: 4 kB / 0.5491 GB, free: 5.215 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.39, allocations: 12 kB / 0.5491 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.39, allocations: 8 kB / 0.5491 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009485/0.391, allocations: 0.5809 MB / 0.5497 GB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.3934, allocations: 1.766 MB / 0.5514 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.3937, allocations: 129.1 kB / 0.5515 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.3939, allocations: 82.28 kB / 0.5516 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002459/0.3963, allocations: 1.881 MB / 0.5534 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.3963, allocations: 35.45 kB / 0.5535 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.3963, allocations: 0 / 0.5535 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004594/0.3968, allocations: 186.3 kB / 0.5537 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.3969, allocations: 59.34 kB / 0.5537 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/0.3974, allocations: 436.6 kB / 0.5541 GB, free: 220 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.3974, allocations: 29.7 kB / 0.5542 GB, free: 184 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.3976, allocations: 262.7 kB / 0.5544 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.3977, allocations: 43.59 kB / 0.5545 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.3978, allocations: 79.84 kB / 0.5545 GB, free: 15.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.398, allocations: 347.2 kB / 0.5549 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.3981, allocations: 70.86 kB / 0.5549 GB, free: 15.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.3984, allocations: 290.3 kB / 0.5552 GB, free: 15.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004835/0.3989, allocations: 384.5 kB / 0.5556 GB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3989, allocations: 0 / 0.5556 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007055/0.3996, allocations: 398 kB / 0.556 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3996, allocations: 12 kB / 0.556 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.3997, allocations: 8 kB / 0.556 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.3997, allocations: 8 kB / 0.556 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.4, allocations: 95.2 kB / 0.5561 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.4, allocations: 14.02 kB / 0.5561 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.4002, allocations: 48.8 kB / 0.5561 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/0.4003, allocations: 25.41 kB / 0.5562 GB, free: 14.03 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (38): * Single equations (assignments): 38 * 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.0001954/0.4005, allocations: 168.2 kB / 0.5563 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.4006, allocations: 40.52 kB / 0.5564 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/0.401, allocations: 240 kB / 0.5566 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.401, allocations: 3.938 kB / 0.5566 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.401, allocations: 0 / 0.5566 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.401, allocations: 0.5625 kB / 0.5566 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006302/0.4017, allocations: 0.5363 MB / 0.5571 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4017, allocations: 0 / 0.5571 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/0.4017, allocations: 4.5 kB / 0.5571 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4017, allocations: 0 / 0.5571 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.4017, allocations: 0.7188 kB / 0.5571 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.4017, allocations: 8 kB / 0.5571 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4017, allocations: 0 / 0.5571 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.4019, allocations: 110.1 kB / 0.5572 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.402, allocations: 115.8 kB / 0.5573 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/0.402, allocations: 9.125 kB / 0.5573 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.523e-05/0.4021, allocations: 0 / 0.5573 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.4021, allocations: 0.6562 kB / 0.5573 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.4021, allocations: 7.969 kB / 0.5574 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004501/0.4026, allocations: 360.7 kB / 0.5577 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4026, allocations: 0 / 0.5577 GB, free: 12.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006253/0.4032, allocations: 179.5 kB / 0.5579 GB, free: 12.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0009157/0.4041, allocations: 0.8567 MB / 0.5587 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003608/0.4045, allocations: 158.8 kB / 0.5589 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4045, allocations: 0 / 0.5589 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.679e-05/0.4045, allocations: 9.906 kB / 0.5589 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005201/0.405, allocations: 101.6 kB / 0.559 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004571/0.4096, allocations: 3.47 MB / 0.5624 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.4101, allocations: 0.7823 MB / 0.5631 GB, free: 6.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003387/0.4104, allocations: 105.3 kB / 0.5632 GB, free: 6.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.4106, allocations: 133.6 kB / 0.5633 GB, free: 6.727 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4106, allocations: 0 / 0.5633 GB, free: 6.727 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03612/0.4467, allocations: 10.39 MB / 0.5735 GB, free: 12.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.564/9.011, allocations: 11.86 kB / 0.5735 GB, free: 12.74 MB / 430.1 MB " [Timeout remaining time 651] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG_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_Get_DfG.fmu > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.784087079999154] Failed to read output from testmodel.py, exit status != 0: 9.089094434995786 9.11644317 8.724849948 Calling exit ...