Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.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.001381/0.001381, allocations: 109.5 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.001604/0.001604, allocations: 216.2 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.485/1.485, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.1894/0.1894, allocations: 23.88 MB / 332.7 MB, free: 12.31 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.StandardElectrochemicalCell,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell",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.002265/0.002265, allocations: 63.89 kB / 466 MB, free: 10.03 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3524, allocations: 59.82 MB / 0.5135 GB, free: 8.43 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.StandardElectrochemicalCell): time 0.0454/0.3978, allocations: 28.38 MB / 0.5412 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03079/0.4286, allocations: 21.7 MB / 0.5624 GB, free: 8.238 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.4301, allocations: 23.81 kB / 0.5625 GB, free: 8.215 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00197/0.4321, allocations: 0.5323 MB / 0.563 GB, free: 7.793 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003852/0.4359, allocations: 1.005 MB / 0.564 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01127/0.4472, allocations: 3.322 MB / 0.5672 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003677/0.4509, allocations: 1.798 MB / 0.569 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.4525, allocations: 0.7818 MB / 0.5697 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.4541, allocations: 0.8025 MB / 0.5705 GB, free: 0.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.4557, allocations: 0.8951 MB / 0.5714 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004618/0.4562, allocations: 148 kB / 0.5715 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007676/0.4639, allocations: 2.083 MB / 0.5736 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006502/0.4645, allocations: 386.8 kB / 0.5739 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.4659, allocations: 0.8127 MB / 0.5747 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.4765, allocations: 4.058 MB / 0.5787 GB, free: 8.352 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.4765, allocations: 3.984 kB / 0.5787 GB, free: 8.348 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4765, allocations: 0 / 0.5787 GB, free: 8.348 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.223e-05/0.4766, allocations: 0 / 0.5787 GB, free: 8.348 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: 323 * Number of variables: 323 Notification: Performance of Generate backend data structure: time 0.005199/0.4818, allocations: 2.147 MB / 0.5808 GB, free: 6.141 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.4818, allocations: 8.031 kB / 0.5808 GB, free: 6.133 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004084/0.4822, allocations: 194.3 kB / 0.581 GB, free: 5.934 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/0.4843, allocations: 443.1 kB / 0.5814 GB, free: 5.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002258/0.4866, allocations: 1.052 MB / 0.5824 GB, free: 4.406 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/0.4868, allocations: 166.1 kB / 0.5826 GB, free: 4.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003219/0.4871, allocations: 120 kB / 0.5827 GB, free: 4.113 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003486/0.4906, allocations: 1.756 MB / 0.5844 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.4906, allocations: 0 / 0.5844 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.4908, allocations: 52 kB / 0.5845 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/0.4908, allocations: 35.98 kB / 0.5845 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00407/0.4949, allocations: 2.315 MB / 0.5868 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009334/0.5042, allocations: 5.584 MB / 0.5922 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.5057, allocations: 0.7043 MB / 0.5929 GB, free: 9.375 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006772/0.5064, allocations: 344.3 kB / 0.5932 GB, free: 9.031 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009318/0.5157, allocations: 5.724 MB / 0.5988 GB, free: 2.613 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.5157, allocations: 42.5 kB / 0.5989 GB, free: 2.562 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.365e-06/0.5157, allocations: 0 / 0.5989 GB, free: 2.562 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001788/0.5175, allocations: 0.7941 MB / 0.5996 GB, free: 1.719 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/0.5176, allocations: 118.9 kB / 0.5998 GB, free: 1.578 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/0.5195, allocations: 1.287 MB / 0.601 GB, free: 288 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/0.5196, allocations: 33.64 kB / 0.601 GB, free: 248 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007479/0.5203, allocations: 0.8646 MB / 0.6019 GB, free: 15.37 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.5205, allocations: 154.8 kB / 0.602 GB, free: 15.21 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004068/0.5209, allocations: 295.3 kB / 0.6023 GB, free: 14.92 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.5211, allocations: 361.9 kB / 0.6027 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005919/0.5217, allocations: 331.8 kB / 0.603 GB, free: 14.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.523, allocations: 1.156 MB / 0.6041 GB, free: 12.67 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/0.5251, allocations: 1.53 MB / 0.6056 GB, free: 10.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.343e-05/0.5251, allocations: 8 kB / 0.6056 GB, free: 10.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003028/0.5282, allocations: 1.548 MB / 0.6071 GB, free: 9.164 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.964e-05/0.5282, allocations: 22.44 kB / 0.6071 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.001e-05/0.5282, allocations: 32 kB / 0.6072 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006787/0.5289, allocations: 153.4 kB / 0.6073 GB, free: 8.957 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.5302, allocations: 399.6 kB / 0.6077 GB, free: 8.566 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003606/0.5338, allocations: 4.077 MB / 0.6117 GB, free: 4.148 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.5349, allocations: 194.8 kB / 0.6119 GB, free: 3.957 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/0.535, allocations: 99.98 kB / 0.612 GB, free: 3.859 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (167): * Single equations (assignments): 163 * 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.0005961/0.5356, allocations: 329 kB / 0.6123 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002978/0.5359, allocations: 119.2 kB / 0.6124 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.538, allocations: 0.9442 MB / 0.6133 GB, free: 2.422 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.538, allocations: 8 kB / 0.6133 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.5381, allocations: 0 / 0.6133 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.5381, allocations: 7.984 kB / 0.6133 GB, free: 2.406 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/0.5408, allocations: 1.373 MB / 0.6147 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.5408, allocations: 0 / 0.6147 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.541, allocations: 63.91 kB / 0.6147 GB, free: 0.875 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007931/0.5418, allocations: 171.6 kB / 0.6149 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/0.5419, allocations: 16 kB / 0.6149 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003568/0.5454, allocations: 3.955 MB / 0.6188 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.5454, allocations: 4.031 kB / 0.6188 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.5469, allocations: 0.9163 MB / 0.6197 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.5473, allocations: 188.3 kB / 0.6198 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.5475, allocations: 19.89 kB / 0.6199 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004432/0.5479, allocations: 12.06 kB / 0.6199 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/0.548, allocations: 39.84 kB / 0.6199 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-05/0.548, allocations: 23.98 kB / 0.6199 GB, free: 11.11 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001441/0.5495, allocations: 0.9625 MB / 0.6209 GB, free: 10.15 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5495, allocations: 0 / 0.6209 GB, free: 10.15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00247/0.5519, allocations: 0.7045 MB / 0.6216 GB, free: 9.441 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (30): * Single equations (assignments): 26 * 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.003667/0.5556, allocations: 2.199 MB / 0.6237 GB, free: 7.172 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001969/0.5576, allocations: 0.8212 MB / 0.6245 GB, free: 6.355 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5576, allocations: 0 / 0.6245 GB, free: 6.355 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006147/0.5582, allocations: 399.1 kB / 0.6249 GB, free: 5.941 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.5595, allocations: 180.7 kB / 0.6251 GB, free: 5.766 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/0.576, allocations: 10.43 MB / 0.6353 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009883/0.577, allocations: 1.091 MB / 0.6363 GB, free: 9.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001028/0.578, allocations: 321.6 kB / 0.6366 GB, free: 8.887 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008013/0.5788, allocations: 0.5383 MB / 0.6371 GB, free: 8.348 MB / 494.1 MB Notification: Performance of SimCode: time 9.71e-07/0.5788, allocations: 0 / 0.6371 GB, free: 8.348 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08257/0.6614, allocations: 33.1 MB / 0.6695 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.46/25.12, allocations: 11.98 kB / 0.6695 GB, free: 7.441 MB / 0.5137 GB " [Timeout remaining time 635] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.sim & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell.fmu > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.05691978498362] Failed to read output from testmodel.py, exit status != 0: 25.236009450163692 25.26142335 24.779923658 Calling exit ...