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.001481/0.001481, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001643/0.001643, allocations: 217.2 kB / 22.26 MB, free: 5.125 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.339/1.339, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 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.1272/0.1272, allocations: 23.86 MB / 336.3 MB, free: 11.18 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.001953/0.001953, allocations: 64.19 kB / 471.2 MB, free: 7.699 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2862, allocations: 59.87 MB / 0.5186 GB, free: 9.641 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.03549/0.3217, allocations: 27.81 MB / 0.5457 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0221/0.3438, allocations: 18.32 MB / 0.5636 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.3448, allocations: 27.75 kB / 0.5637 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.3461, allocations: 472.1 kB / 0.5641 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.3487, allocations: 0.8445 MB / 0.5649 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007453/0.3562, allocations: 2.847 MB / 0.5677 GB, free: 7.703 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002663/0.3588, allocations: 1.639 MB / 0.5693 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.3598, allocations: 0.7351 MB / 0.57 GB, free: 5.438 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008304/0.3607, allocations: 0.7323 MB / 0.5707 GB, free: 4.703 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.3617, allocations: 0.8172 MB / 0.5715 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001979/0.3619, allocations: 140 kB / 0.5717 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005135/0.3671, allocations: 1.778 MB / 0.5734 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003815/0.3675, allocations: 354.8 kB / 0.5738 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007733/0.3682, allocations: 0.7466 MB / 0.5745 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006695/0.3749, allocations: 3.583 MB / 0.578 GB, free: 13.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3749, allocations: 0 / 0.578 GB, free: 13.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3749, allocations: 4 kB / 0.578 GB, free: 13.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.3749, allocations: 0 / 0.578 GB, free: 13.27 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.003107/0.3781, allocations: 1.901 MB / 0.5798 GB, free: 11.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3781, allocations: 8.031 kB / 0.5798 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002265/0.3783, allocations: 177.8 kB / 0.58 GB, free: 11.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.3798, allocations: 399.3 kB / 0.5804 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.3815, allocations: 0.9081 MB / 0.5813 GB, free: 9.805 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/0.3817, allocations: 205.3 kB / 0.5815 GB, free: 9.578 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.3819, allocations: 116 kB / 0.5816 GB, free: 9.465 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/0.3846, allocations: 1.672 MB / 0.5832 GB, free: 7.719 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/0.3846, allocations: 0 / 0.5832 GB, free: 7.719 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.3848, allocations: 52 kB / 0.5833 GB, free: 7.668 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/0.3848, allocations: 28 kB / 0.5833 GB, free: 7.641 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003118/0.3879, allocations: 2.127 MB / 0.5854 GB, free: 5.512 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007984/0.3959, allocations: 5.392 MB / 0.5906 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.3971, allocations: 0.6888 MB / 0.5913 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005594/0.3977, allocations: 340.3 kB / 0.5916 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006176/0.4039, allocations: 2.772 MB / 0.5943 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.4039, allocations: 34.55 kB / 0.5944 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002782/0.4042, allocations: 83.25 kB / 0.5945 GB, free: 11.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.814e-06/0.4042, allocations: 0 / 0.5945 GB, free: 11.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.00132/0.4055, allocations: 0.6077 MB / 0.5951 GB, free: 11.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.4056, allocations: 106.8 kB / 0.5952 GB, free: 11.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.407, allocations: 1.214 MB / 0.5963 GB, free: 9.973 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.407, allocations: 37.7 kB / 0.5964 GB, free: 9.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005768/0.4076, allocations: 0.7867 MB / 0.5971 GB, free: 9.133 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.4077, allocations: 150.8 kB / 0.5973 GB, free: 8.984 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003314/0.408, allocations: 282.9 kB / 0.5976 GB, free: 8.703 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4082, allocations: 349.9 kB / 0.5979 GB, free: 8.355 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005085/0.4087, allocations: 326.5 kB / 0.5982 GB, free: 8.035 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.4098, allocations: 1.058 MB / 0.5992 GB, free: 6.617 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.4114, allocations: 1.399 MB / 0.6006 GB, free: 4.852 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.4114, allocations: 8 kB / 0.6006 GB, free: 4.844 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002192/0.4136, allocations: 1.459 MB / 0.602 GB, free: 3.371 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.4136, allocations: 19.94 kB / 0.6021 GB, free: 3.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/0.4137, allocations: 24 kB / 0.6021 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000593/0.4143, allocations: 150.2 kB / 0.6022 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.4154, allocations: 379.4 kB / 0.6026 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003084/0.4184, allocations: 3.866 MB / 0.6064 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008323/0.4193, allocations: 76.06 kB / 0.6064 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.4194, allocations: 91.98 kB / 0.6065 GB, free: 14.48 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.0004708/0.4199, allocations: 317.2 kB / 0.6068 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.4201, allocations: 103.3 kB / 0.6069 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/0.4217, allocations: 0.8482 MB / 0.6077 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4217, allocations: 4 kB / 0.6078 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4217, allocations: 4 kB / 0.6078 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4217, allocations: 0 / 0.6078 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.4237, allocations: 1.238 MB / 0.609 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.4237, allocations: 7.984 kB / 0.609 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.424, allocations: 59.91 kB / 0.609 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006904/0.4246, allocations: 175.1 kB / 0.6092 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.4247, allocations: 12 kB / 0.6092 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002868/0.4275, allocations: 3.748 MB / 0.6129 GB, free: 7.547 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.4275, allocations: 7.938 kB / 0.6129 GB, free: 7.539 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.4287, allocations: 0.8597 MB / 0.6137 GB, free: 6.629 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.4289, allocations: 103.4 kB / 0.6138 GB, free: 6.527 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.429, allocations: 11.98 kB / 0.6138 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/0.4294, allocations: 8 kB / 0.6138 GB, free: 6.508 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.4294, allocations: 35.89 kB / 0.6139 GB, free: 6.473 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.4295, allocations: 16 kB / 0.6139 GB, free: 6.457 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001084/0.4306, allocations: 0.8927 MB / 0.6148 GB, free: 5.559 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4306, allocations: 0 / 0.6148 GB, free: 5.559 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001739/0.4323, allocations: 0.6422 MB / 0.6154 GB, free: 4.914 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.002567/0.4349, allocations: 2.05 MB / 0.6174 GB, free: 2.809 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0015/0.4364, allocations: 0.7702 MB / 0.6181 GB, free: 2.043 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4364, allocations: 4 kB / 0.6181 GB, free: 2.039 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005004/0.4369, allocations: 384.2 kB / 0.6185 GB, free: 1.641 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009513/0.4378, allocations: 167.5 kB / 0.6187 GB, free: 1.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/0.4501, allocations: 9.668 MB / 0.6281 GB, free: 6.891 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007098/0.4508, allocations: 1.059 MB / 0.6291 GB, free: 5.805 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008084/0.4516, allocations: 279.7 kB / 0.6294 GB, free: 5.547 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000622/0.4522, allocations: 495.2 kB / 0.6299 GB, free: 5.062 MB / 478.1 MB Notification: Performance of SimCode: time 1.322e-06/0.4522, allocations: 0 / 0.6299 GB, free: 5.062 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07007/0.5223, allocations: 30.49 MB / 0.6597 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.18/22.7, allocations: 10.92 kB / 0.6597 GB, free: 6.734 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.231443497999862] Failed to read output from testmodel.py, exit status != 0: 22.827761512999132 22.842301287 22.464342715 Calling exit ...