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.00136/0.00136, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001553/0.001553, allocations: 209.2 kB / 22.24 MB, free: 5.262 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 / 256 MB, free: 7.805 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.138/0.138, allocations: 23.99 MB / 336.4 MB, free: 10.88 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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.002208/0.002208, allocations: 67.89 kB / 471.3 MB, free: 7.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3299, allocations: 59.89 MB / 0.5187 GB, free: 9.457 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.08463/0.4146, allocations: 27.72 MB / 0.5458 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02668/0.4412, allocations: 19.03 MB / 0.5644 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.4427, allocations: 27.75 kB / 0.5644 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.4442, allocations: 493.6 kB / 0.5649 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002914/0.4471, allocations: 0.9594 MB / 0.5658 GB, free: 9.312 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009173/0.4563, allocations: 3.352 MB / 0.5691 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002651/0.459, allocations: 1.805 MB / 0.5709 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.46, allocations: 0.7432 MB / 0.5716 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008902/0.4609, allocations: 0.8064 MB / 0.5724 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.462, allocations: 0.8091 MB / 0.5732 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002472/0.4622, allocations: 148 kB / 0.5733 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005555/0.4678, allocations: 1.958 MB / 0.5752 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004297/0.4682, allocations: 390.7 kB / 0.5756 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00081/0.469, allocations: 0.6652 MB / 0.5762 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008265/0.4773, allocations: 4.058 MB / 0.5802 GB, free: 10.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4773, allocations: 4 kB / 0.5802 GB, free: 10.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4773, allocations: 0 / 0.5802 GB, free: 10.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.985e-05/0.4773, allocations: 0 / 0.5802 GB, free: 10.72 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.003528/0.4808, allocations: 2.063 MB / 0.5822 GB, free: 8.617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.4809, allocations: 8.031 kB / 0.5822 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002367/0.4811, allocations: 190.2 kB / 0.5824 GB, free: 8.414 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/0.4829, allocations: 447.1 kB / 0.5828 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/0.4849, allocations: 0.992 MB / 0.5838 GB, free: 6.957 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.4851, allocations: 205.5 kB / 0.584 GB, free: 6.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/0.4853, allocations: 128 kB / 0.5841 GB, free: 6.605 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002836/0.4882, allocations: 1.764 MB / 0.5858 GB, free: 4.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.271e-05/0.4882, allocations: 3.938 kB / 0.5858 GB, free: 4.766 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.4884, allocations: 55.94 kB / 0.5859 GB, free: 4.711 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-05/0.4884, allocations: 32 kB / 0.5859 GB, free: 4.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00371/0.4921, allocations: 2.311 MB / 0.5882 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008316/0.5004, allocations: 4.981 MB / 0.5931 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.5018, allocations: 0.6978 MB / 0.5937 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005926/0.5024, allocations: 340.3 kB / 0.5941 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007018/0.5094, allocations: 2.858 MB / 0.5968 GB, free: 9.312 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.5094, allocations: 42.55 kB / 0.5969 GB, free: 9.262 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.205e-06/0.5094, allocations: 0 / 0.5969 GB, free: 9.262 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001519/0.5109, allocations: 0.6543 MB / 0.5975 GB, free: 8.594 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/0.511, allocations: 118.7 kB / 0.5976 GB, free: 8.453 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.5127, allocations: 1.337 MB / 0.5989 GB, free: 7.105 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.5127, allocations: 37.7 kB / 0.599 GB, free: 7.062 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006761/0.5134, allocations: 0.8684 MB / 0.5998 GB, free: 6.184 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.5136, allocations: 154.8 kB / 0.6 GB, free: 6.031 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003744/0.5139, allocations: 287.4 kB / 0.6003 GB, free: 5.746 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.5141, allocations: 366.1 kB / 0.6006 GB, free: 5.383 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005668/0.5147, allocations: 339.8 kB / 0.6009 GB, free: 5.051 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.516, allocations: 1.16 MB / 0.6021 GB, free: 3.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001905/0.5179, allocations: 1.533 MB / 0.6036 GB, free: 1.539 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/0.5179, allocations: 8 kB / 0.6036 GB, free: 1.531 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002595/0.5205, allocations: 1.57 MB / 0.6051 GB, free: 15.95 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.5205, allocations: 20.94 kB / 0.6051 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.75e-05/0.5205, allocations: 28 kB / 0.6051 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006211/0.5212, allocations: 157.4 kB / 0.6053 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.5223, allocations: 399.4 kB / 0.6057 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003262/0.5256, allocations: 3.866 MB / 0.6094 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00097/0.5266, allocations: 190.5 kB / 0.6096 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.5267, allocations: 100.2 kB / 0.6097 GB, free: 10.91 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.0005516/0.5273, allocations: 337.1 kB / 0.61 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/0.5275, allocations: 115.2 kB / 0.6102 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.5294, allocations: 0.9548 MB / 0.6111 GB, free: 9.457 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.5294, allocations: 4 kB / 0.6111 GB, free: 9.453 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.5294, allocations: 3.938 kB / 0.6111 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.5294, allocations: 4.031 kB / 0.6111 GB, free: 9.445 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.5316, allocations: 1.286 MB / 0.6124 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.5316, allocations: 4 kB / 0.6124 GB, free: 8.066 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.5319, allocations: 59.91 kB / 0.6124 GB, free: 8.008 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000712/0.5326, allocations: 175.3 kB / 0.6126 GB, free: 7.824 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.5326, allocations: 16 kB / 0.6126 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003025/0.5357, allocations: 3.734 MB / 0.6162 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.5357, allocations: 7.984 kB / 0.6163 GB, free: 3.777 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.537, allocations: 0.9045 MB / 0.6171 GB, free: 2.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/0.5372, allocations: 115.2 kB / 0.6172 GB, free: 2.707 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.5373, allocations: 23.88 kB / 0.6173 GB, free: 2.684 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/0.5377, allocations: 12 kB / 0.6173 GB, free: 2.672 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.5378, allocations: 39.83 kB / 0.6173 GB, free: 2.633 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/0.5378, allocations: 23.98 kB / 0.6173 GB, free: 2.609 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001256/0.5391, allocations: 0.9625 MB / 0.6183 GB, free: 1.645 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5391, allocations: 0 / 0.6183 GB, free: 1.645 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002096/0.5412, allocations: 0.7046 MB / 0.619 GB, free: 0.9375 MB / 462.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.003307/0.5445, allocations: 2.199 MB / 0.6211 GB, free: 14.67 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.5463, allocations: 0.8339 MB / 0.6219 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.5463, allocations: 1 kB / 0.6219 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005719/0.5469, allocations: 393.2 kB / 0.6223 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.548, allocations: 199.2 kB / 0.6225 GB, free: 13.24 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/0.5623, allocations: 10.46 MB / 0.6327 GB, free: 1.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.5629, allocations: 0.5035 MB / 0.6332 GB, free: 1.211 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000926/0.5638, allocations: 307.8 kB / 0.6335 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007126/0.5645, allocations: 0.5422 MB / 0.634 GB, free: 392 kB / 478.1 MB Notification: Performance of SimCode: time 1.362e-06/0.5645, allocations: 0 / 0.634 GB, free: 392 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07829/0.6428, allocations: 34.18 MB / 0.6674 GB, free: 14.46 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/14.7, allocations: 8 kB / 0.6674 GB, free: 14.46 MB / 0.5138 GB " [Timeout remaining time 645] (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: 17.57281035510823] Failed to read output from testmodel.py, exit status != 0: 14.84220089809969 14.872648462 14.389848116 Calling exit ...