Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0007792/0.0007792, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008114/0.0008114, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8971/0.8971, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.09255/0.09255, allocations: 17.38 MB / 276.6 MB, free: 11.85 MB / 266.7 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.StandardElectrochemicalCell,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 411.5 MB, free: 432 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.717e-05, allocations: 3.688 kB / 411.5 MB, free: 428 kB / 378.7 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.StandardElectrochemicalCell): time 0.02638/0.0264, allocations: 27.96 MB / 439.4 MB, free: 4.531 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1902/0.2166, allocations: 19 MB / 458.4 MB, free: 54.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005731/0.2171, allocations: 28.97 kB / 458.4 MB, free: 54.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007084/0.2178, allocations: 0.4909 MB / 458.9 MB, free: 54.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.2191, allocations: 1.005 MB / 459.9 MB, free: 53.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004332/0.2234, allocations: 3.441 MB / 463.4 MB, free: 51.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.2245, allocations: 1.873 MB / 465.3 MB, free: 50.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005176/0.225, allocations: 0.7518 MB / 466 MB, free: 50.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005762/0.2255, allocations: 1.131 MB / 467.1 MB, free: 49.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004915/0.226, allocations: 0.7019 MB / 467.8 MB, free: 49.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.2262, allocations: 150.4 kB / 468 MB, free: 49.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002553/0.2287, allocations: 1.979 MB / 470 MB, free: 49.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.2289, allocations: 391.5 kB / 470.4 MB, free: 48.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00031/0.2292, allocations: 0.5702 MB / 470.9 MB, free: 48.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.2319, allocations: 4.274 MB / 475.2 MB, free: 46.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2319, allocations: 3.281 kB / 475.2 MB, free: 46.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2319, allocations: 0 / 475.2 MB, free: 46.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.2319, allocations: 0 / 475.2 MB, free: 46.82 MB / 410.7 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.001628/0.2335, allocations: 2.054 MB / 477.3 MB, free: 45.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.2336, allocations: 9.5 kB / 477.3 MB, free: 45.56 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001448/0.2337, allocations: 190.9 kB / 477.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008731/0.2346, allocations: 435.2 kB / 477.9 MB, free: 45.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000996/0.2356, allocations: 0.9908 MB / 478.9 MB, free: 44.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.2357, allocations: 205.2 kB / 479.1 MB, free: 44.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.2358, allocations: 123.2 kB / 479.2 MB, free: 44.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.2373, allocations: 1.768 MB / 481 MB, free: 43.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.2373, allocations: 3.938 kB / 481 MB, free: 43.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.379e-05/0.2374, allocations: 51.97 kB / 481 MB, free: 43.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.2374, allocations: 33.03 kB / 481 MB, free: 43.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.2396, allocations: 2.311 MB / 483.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004531/0.2442, allocations: 4.972 MB / 488.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008495/0.245, allocations: 0.6896 MB / 489 MB, free: 39.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003661/0.2454, allocations: 338 kB / 489.3 MB, free: 39.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0035/0.2489, allocations: 2.878 MB / 492.2 MB, free: 38.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.2489, allocations: 38.44 kB / 492.3 MB, free: 38.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 1.302e-06/0.2489, allocations: 0 / 492.3 MB, free: 38.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.0008829/0.2498, allocations: 0.6446 MB / 492.9 MB, free: 38.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.2498, allocations: 111.5 kB / 493 MB, free: 38.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009693/0.2508, allocations: 1.343 MB / 494.4 MB, free: 37.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.2508, allocations: 34.61 kB / 494.4 MB, free: 37.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.2511, allocations: 0.8538 MB / 495.2 MB, free: 36.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.591e-05/0.2512, allocations: 152.8 kB / 495.4 MB, free: 36.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.2514, allocations: 294.3 kB / 495.7 MB, free: 36.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.737e-05/0.2514, allocations: 358 kB / 496 MB, free: 36.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003669/0.2518, allocations: 342.4 kB / 496.4 MB, free: 36.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005856/0.2524, allocations: 1.161 MB / 497.5 MB, free: 34.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009899/0.2534, allocations: 1.533 MB / 499.1 MB, free: 33.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/0.2534, allocations: 8.562 kB / 499.1 MB, free: 33.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001545/0.2549, allocations: 1.573 MB / 0.4889 GB, free: 32.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.255, allocations: 20.31 kB / 0.4889 GB, free: 32.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.255, allocations: 30.38 kB / 0.489 GB, free: 32.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003685/0.2554, allocations: 150.7 kB / 0.4891 GB, free: 32.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006282/0.256, allocations: 398.2 kB / 0.4895 GB, free: 32.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.2572, allocations: 3.863 MB / 0.4933 GB, free: 29.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005026/0.2577, allocations: 189.8 kB / 0.4934 GB, free: 28.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.2578, allocations: 105.4 kB / 0.4935 GB, free: 28.89 MB / 410.7 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.0002755/0.2581, allocations: 330 kB / 0.4938 GB, free: 28.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.2582, allocations: 121.4 kB / 0.494 GB, free: 28.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.2593, allocations: 0.9479 MB / 0.4949 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2593, allocations: 10.69 kB / 0.4949 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.2593, allocations: 1.922 kB / 0.4949 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.2593, allocations: 1.312 kB / 0.4949 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.2605, allocations: 1.272 MB / 0.4961 GB, free: 27.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2606, allocations: 3.094 kB / 0.4961 GB, free: 27.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.2607, allocations: 62.23 kB / 0.4962 GB, free: 27.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000356/0.261, allocations: 184.2 kB / 0.4964 GB, free: 27.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.2611, allocations: 20.16 kB / 0.4964 GB, free: 27.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.2621, allocations: 3.727 MB / 0.5 GB, free: 23.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2621, allocations: 3.312 kB / 0.5 GB, free: 23.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006682/0.2628, allocations: 0.9099 MB / 0.5009 GB, free: 23.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.422e-05/0.2629, allocations: 119 kB / 0.501 GB, free: 22.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.845e-05/0.263, allocations: 14.17 kB / 0.5011 GB, free: 22.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.2632, allocations: 8.125 kB / 0.5011 GB, free: 22.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.2632, allocations: 44.05 kB / 0.5011 GB, free: 22.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.2632, allocations: 19.11 kB / 0.5011 GB, free: 22.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007284/0.264, allocations: 0.9684 MB / 0.5021 GB, free: 22.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.264, allocations: 0 / 0.5021 GB, free: 22.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00129/0.2652, allocations: 0.7106 MB / 0.5028 GB, free: 22.33 MB / 410.7 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.001685/0.2669, allocations: 2.226 MB / 0.5049 GB, free: 20.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009582/0.2679, allocations: 0.8231 MB / 0.5057 GB, free: 20.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2679, allocations: 0 / 0.5057 GB, free: 20.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.2681, allocations: 399.2 kB / 0.5061 GB, free: 20.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006612/0.2688, allocations: 187.7 kB / 0.5063 GB, free: 20.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006831/0.2756, allocations: 10.34 MB / 0.5164 GB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.2759, allocations: 0.5143 MB / 0.5169 GB, free: 9.922 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005219/0.2765, allocations: 311.8 kB / 0.5172 GB, free: 9.762 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/0.2768, allocations: 0.5396 MB / 0.5177 GB, free: 9.285 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2768, allocations: 0 / 0.5177 GB, free: 9.285 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04032/0.3171, allocations: 34.38 MB / 0.5513 GB, free: 8.637 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.405/8.723, allocations: 10.81 kB / 0.5513 GB, free: 8.629 MB / 442.7 MB " [Timeout remaining time 651] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.sim & python3 -m fmpy simulate --output-file Chemical_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_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell.fmu > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.697478259913623] Failed to read output from testmodel.py, exit status != 0: 8.823958639986813 8.83315418 8.599469039 Calling exit ...