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.001338/0.001338, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00151/0.00151, allocations: 220.2 kB / 22.25 MB, free: 5.254 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.365/1.365, allocations: 230.6 MB / 256 MB, free: 7.785 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.127/0.127, allocations: 23.89 MB / 336.3 MB, free: 10.95 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.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: 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.001943/0.001943, allocations: 63.91 kB / 471.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3058, allocations: 59.85 MB / 0.5185 GB, free: 9.547 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.StandardElectrochemicalCell): time 0.07038/0.3761, allocations: 27.64 MB / 0.5455 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02461/0.4007, allocations: 19.02 MB / 0.5641 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.4022, allocations: 23.81 kB / 0.5641 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.4036, allocations: 497.7 kB / 0.5646 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002807/0.4064, allocations: 0.9672 MB / 0.5655 GB, free: 9.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008928/0.4154, allocations: 3.348 MB / 0.5688 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002615/0.418, allocations: 1.806 MB / 0.5706 GB, free: 4.574 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009947/0.419, allocations: 0.7666 MB / 0.5713 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000892/0.4199, allocations: 0.8024 MB / 0.5721 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.4209, allocations: 0.9029 MB / 0.573 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002392/0.4212, allocations: 148 kB / 0.5731 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005131/0.4263, allocations: 2.001 MB / 0.5751 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004018/0.4267, allocations: 390.7 kB / 0.5755 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007271/0.4274, allocations: 0.6613 MB / 0.5761 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007949/0.4354, allocations: 4.066 MB / 0.5801 GB, free: 10.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4354, allocations: 0 / 0.5801 GB, free: 10.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4354, allocations: 0 / 0.5801 GB, free: 10.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.312e-05/0.4354, allocations: 0 / 0.5801 GB, free: 10.8 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.003537/0.439, allocations: 2.064 MB / 0.5821 GB, free: 8.691 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.439, allocations: 8.031 kB / 0.5821 GB, free: 8.684 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002297/0.4392, allocations: 194.3 kB / 0.5823 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.441, allocations: 439.1 kB / 0.5827 GB, free: 8.055 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/0.4429, allocations: 0.992 MB / 0.5837 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002082/0.4431, allocations: 201.5 kB / 0.5839 GB, free: 6.812 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.4433, allocations: 132 kB / 0.584 GB, free: 6.684 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002858/0.4462, allocations: 1.76 MB / 0.5857 GB, free: 4.852 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/0.4462, allocations: 11.94 kB / 0.5857 GB, free: 4.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.4464, allocations: 52 kB / 0.5858 GB, free: 4.789 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.4464, allocations: 35.94 kB / 0.5858 GB, free: 4.754 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003441/0.4499, allocations: 2.307 MB / 0.5881 GB, free: 2.441 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00779/0.4576, allocations: 4.981 MB / 0.5929 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.4589, allocations: 0.6966 MB / 0.5936 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005731/0.4595, allocations: 332.4 kB / 0.5939 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00648/0.466, allocations: 2.877 MB / 0.5967 GB, free: 9.383 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.466, allocations: 42.5 kB / 0.5968 GB, free: 9.332 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 1.793e-06/0.466, allocations: 0 / 0.5968 GB, free: 9.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001428/0.4674, allocations: 0.6465 MB / 0.5974 GB, free: 8.672 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.454e-05/0.4675, allocations: 110.8 kB / 0.5975 GB, free: 8.539 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.4691, allocations: 1.345 MB / 0.5988 GB, free: 7.184 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.026e-05/0.4692, allocations: 37.62 kB / 0.5989 GB, free: 7.141 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006556/0.4699, allocations: 0.8685 MB / 0.5997 GB, free: 6.262 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.47, allocations: 154.8 kB / 0.5998 GB, free: 6.109 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003652/0.4704, allocations: 287.4 kB / 0.6001 GB, free: 5.824 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.4705, allocations: 362.2 kB / 0.6005 GB, free: 5.465 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005326/0.4711, allocations: 347.8 kB / 0.6008 GB, free: 5.125 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.4723, allocations: 1.156 MB / 0.6019 GB, free: 3.559 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001776/0.474, allocations: 1.533 MB / 0.6034 GB, free: 1.617 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.474, allocations: 8 kB / 0.6034 GB, free: 1.609 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00242/0.4765, allocations: 1.567 MB / 0.605 GB, free: 32 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.4765, allocations: 20.94 kB / 0.605 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.858e-05/0.4766, allocations: 32.05 kB / 0.605 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005931/0.4772, allocations: 161.3 kB / 0.6052 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.4783, allocations: 395.4 kB / 0.6055 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003088/0.4814, allocations: 3.87 MB / 0.6093 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000886/0.4822, allocations: 194.5 kB / 0.6095 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.4824, allocations: 104.2 kB / 0.6096 GB, free: 10.98 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.0004706/0.4829, allocations: 329.1 kB / 0.6099 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.483, allocations: 119.2 kB / 0.61 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/0.4848, allocations: 0.9483 MB / 0.611 GB, free: 9.535 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.4848, allocations: 4 kB / 0.611 GB, free: 9.531 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.4848, allocations: 0 / 0.611 GB, free: 9.531 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4848, allocations: 3.938 kB / 0.611 GB, free: 9.527 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.4869, allocations: 1.282 MB / 0.6122 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.4869, allocations: 4 kB / 0.6122 GB, free: 8.156 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.4872, allocations: 63.91 kB / 0.6123 GB, free: 8.094 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006958/0.4879, allocations: 171.6 kB / 0.6125 GB, free: 7.914 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/0.4879, allocations: 19.98 kB / 0.6125 GB, free: 7.895 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002992/0.4909, allocations: 3.734 MB / 0.6161 GB, free: 3.871 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.4909, allocations: 4.031 kB / 0.6161 GB, free: 3.867 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.4924, allocations: 0.9134 MB / 0.617 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/0.4926, allocations: 115.2 kB / 0.6171 GB, free: 2.785 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.4928, allocations: 19.89 kB / 0.6171 GB, free: 2.766 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/0.4932, allocations: 8 kB / 0.6171 GB, free: 2.758 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.41e-05/0.4932, allocations: 39.83 kB / 0.6172 GB, free: 2.719 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.4933, allocations: 23.98 kB / 0.6172 GB, free: 2.695 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001219/0.4945, allocations: 0.9625 MB / 0.6181 GB, free: 1.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4945, allocations: 0 / 0.6181 GB, free: 1.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002004/0.4965, allocations: 0.7085 MB / 0.6188 GB, free: 1.02 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.002755/0.4992, allocations: 2.211 MB / 0.621 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.5008, allocations: 0.8225 MB / 0.6218 GB, free: 13.92 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5008, allocations: 0.9375 kB / 0.6218 GB, free: 13.92 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005092/0.5013, allocations: 385.5 kB / 0.6222 GB, free: 13.52 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.5024, allocations: 198.2 kB / 0.6224 GB, free: 13.33 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.5153, allocations: 10.47 MB / 0.6326 GB, free: 1.828 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/0.5158, allocations: 0.5074 MB / 0.6331 GB, free: 1.285 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008855/0.5167, allocations: 319.2 kB / 0.6334 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006566/0.5174, allocations: 0.5344 MB / 0.6339 GB, free: 468 kB / 478.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5174, allocations: 0 / 0.6339 GB, free: 468 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/0.6179, allocations: 34.56 MB / 0.6677 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.83, allocations: 12.72 kB / 0.6677 GB, free: 14.14 MB / 0.5137 GB " [Timeout remaining time 646] (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: 16.391786894004326] Failed to read output from testmodel.py, exit status != 0: 13.959848238999257 13.974425168 13.53603918 Calling exit ...