Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.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.001319/0.001319, allocations: 102.2 kB / 16.45 MB, free: 6.504 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.001354/0.001354, allocations: 212.9 kB / 19.43 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.426/1.426, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.1373/0.1373, allocations: 23.85 MB / 332.7 MB, free: 12.35 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.StandardElectrochemicalCell2,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell2",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.001988/0.001988, allocations: 64.19 kB / 466 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2946, allocations: 59.82 MB / 0.5135 GB, free: 8.82 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66: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:14337:7-14337:66: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.StandardElectrochemicalCell2): time 0.03896/0.3336, allocations: 27.6 MB / 0.5404 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0239/0.3575, allocations: 18.28 MB / 0.5583 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.3587, allocations: 23.81 kB / 0.5583 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.3601, allocations: 479.8 kB / 0.5587 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002768/0.3628, allocations: 0.8356 MB / 0.5596 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008309/0.3712, allocations: 2.815 MB / 0.5623 GB, free: 8.879 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002894/0.374, allocations: 1.647 MB / 0.5639 GB, free: 7.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.3752, allocations: 0.7495 MB / 0.5646 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.3763, allocations: 0.7275 MB / 0.5654 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.3774, allocations: 0.8177 MB / 0.5662 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002319/0.3777, allocations: 140 kB / 0.5663 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00531/0.383, allocations: 1.786 MB / 0.568 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004388/0.3834, allocations: 362.8 kB / 0.5684 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000863/0.3843, allocations: 0.7388 MB / 0.5691 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007578/0.3919, allocations: 3.579 MB / 0.5726 GB, free: 14.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3919, allocations: 0 / 0.5726 GB, free: 14.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3919, allocations: 0 / 0.5726 GB, free: 14.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.438e-05/0.3919, allocations: 0 / 0.5726 GB, free: 14.7 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.003524/0.3954, allocations: 1.984 MB / 0.5745 GB, free: 12.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3955, allocations: 11.97 kB / 0.5745 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002323/0.3957, allocations: 181.8 kB / 0.5747 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.3973, allocations: 387.3 kB / 0.5751 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.3991, allocations: 0.9854 MB / 0.5761 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/0.3993, allocations: 149.9 kB / 0.5762 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.3995, allocations: 123.9 kB / 0.5763 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002838/0.4023, allocations: 1.645 MB / 0.5779 GB, free: 9.055 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/0.4024, allocations: 3.938 kB / 0.5779 GB, free: 9.051 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.4025, allocations: 52 kB / 0.578 GB, free: 9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/0.4026, allocations: 39.98 kB / 0.578 GB, free: 8.961 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003531/0.4061, allocations: 2.1 MB / 0.5801 GB, free: 6.859 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008787/0.4149, allocations: 5.441 MB / 0.5854 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.4163, allocations: 0.6861 MB / 0.586 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006245/0.4169, allocations: 340.3 kB / 0.5864 GB, free: 176 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007989/0.4249, allocations: 5.055 MB / 0.5913 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.425, allocations: 46.5 kB / 0.5914 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003311/0.4253, allocations: 79.19 kB / 0.5914 GB, free: 10.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.334e-06/0.4253, allocations: 0 / 0.5914 GB, free: 10.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.00157/0.4269, allocations: 0.7545 MB / 0.5922 GB, free: 9.594 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.4269, allocations: 111.1 kB / 0.5923 GB, free: 9.461 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.4285, allocations: 1.206 MB / 0.5934 GB, free: 8.238 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.4285, allocations: 29.7 kB / 0.5935 GB, free: 8.203 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006111/0.4291, allocations: 0.7984 MB / 0.5943 GB, free: 7.395 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.4293, allocations: 142.9 kB / 0.5944 GB, free: 7.254 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003658/0.4296, allocations: 270.7 kB / 0.5947 GB, free: 6.984 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.4298, allocations: 349.9 kB / 0.595 GB, free: 6.637 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000549/0.4304, allocations: 326.5 kB / 0.5953 GB, free: 6.316 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.4315, allocations: 1.046 MB / 0.5963 GB, free: 4.902 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/0.4334, allocations: 1.399 MB / 0.5977 GB, free: 3.137 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/0.4334, allocations: 8 kB / 0.5977 GB, free: 3.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002496/0.4359, allocations: 1.44 MB / 0.5991 GB, free: 1.676 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.4359, allocations: 19.94 kB / 0.5991 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.003e-05/0.436, allocations: 28 kB / 0.5991 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006394/0.4366, allocations: 145.6 kB / 0.5993 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.4378, allocations: 379.7 kB / 0.5996 GB, free: 1.109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003496/0.4413, allocations: 4.077 MB / 0.6036 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009175/0.4422, allocations: 72.05 kB / 0.6037 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.4424, allocations: 87.98 kB / 0.6038 GB, free: 12.54 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * 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 (155): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005523/0.4429, allocations: 317.1 kB / 0.6041 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.4431, allocations: 107.2 kB / 0.6042 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/0.445, allocations: 0.8593 MB / 0.605 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.445, allocations: 7.984 kB / 0.605 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.445, allocations: 4 kB / 0.605 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.445, allocations: 0 / 0.605 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/0.4473, allocations: 1.266 MB / 0.6063 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.4473, allocations: 4 kB / 0.6063 GB, free: 9.852 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.4476, allocations: 55.91 kB / 0.6063 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007828/0.4484, allocations: 175.2 kB / 0.6065 GB, free: 9.613 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.4484, allocations: 16 kB / 0.6065 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00325/0.4517, allocations: 3.955 MB / 0.6104 GB, free: 5.297 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4517, allocations: 4.031 kB / 0.6104 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.4531, allocations: 0.8695 MB / 0.6112 GB, free: 4.375 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/0.4533, allocations: 184.3 kB / 0.6114 GB, free: 4.176 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.4534, allocations: 8 kB / 0.6114 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/0.4538, allocations: 8 kB / 0.6114 GB, free: 4.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.593e-05/0.4539, allocations: 39.97 kB / 0.6115 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/0.4539, allocations: 19.98 kB / 0.6115 GB, free: 4.102 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00122/0.4552, allocations: 0.8848 MB / 0.6123 GB, free: 3.211 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4552, allocations: 3.938 kB / 0.6123 GB, free: 3.207 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002019/0.4572, allocations: 0.6267 MB / 0.613 GB, free: 2.578 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (cathode.temperature,anode.temperature) * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003056/0.4602, allocations: 2.044 MB / 0.6149 GB, free: 484 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001895/0.4621, allocations: 0.7635 MB / 0.6157 GB, free: 15.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4621, allocations: 4.062 kB / 0.6157 GB, free: 15.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000605/0.4627, allocations: 377.2 kB / 0.6161 GB, free: 15.32 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.464, allocations: 168.1 kB / 0.6162 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.4782, allocations: 9.631 MB / 0.6256 GB, free: 4.602 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000776/0.479, allocations: 1.055 MB / 0.6267 GB, free: 3.52 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008585/0.4798, allocations: 289.4 kB / 0.6269 GB, free: 3.254 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006635/0.4805, allocations: 499.2 kB / 0.6274 GB, free: 2.766 MB / 478.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4805, allocations: 0 / 0.6274 GB, free: 2.766 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07248/0.553, allocations: 29.67 MB / 0.6564 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.23/22.78, allocations: 11.03 kB / 0.6564 GB, free: 5.285 MB / 0.4981 GB " [Timeout remaining time 637] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell2.fmu > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.479481615999248] Failed to read output from testmodel.py, exit status != 0: 22.890146858000662 22.909410828 22.513778002 Calling exit ...