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.001715/0.001715, 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.001933/0.001933, allocations: 210.5 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.563/1.563, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1462/0.1462, allocations: 23.99 MB / 336.4 MB, free: 10.84 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.002123/0.002123, allocations: 79.88 kB / 471.3 MB, free: 7.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3171, allocations: 59.88 MB / 0.5187 GB, free: 9.465 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.0731/0.3902, allocations: 27.72 MB / 0.5458 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02603/0.4162, allocations: 19.02 MB / 0.5644 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/0.4177, allocations: 27.81 kB / 0.5644 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.4194, allocations: 497.3 kB / 0.5649 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00353/0.4229, allocations: 0.956 MB / 0.5658 GB, free: 9.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009487/0.4324, allocations: 3.351 MB / 0.5691 GB, free: 6.148 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002874/0.4353, allocations: 1.805 MB / 0.5709 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.4364, allocations: 0.7471 MB / 0.5716 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.4374, allocations: 0.8024 MB / 0.5724 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.4386, allocations: 0.8091 MB / 0.5732 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002801/0.4389, allocations: 148 kB / 0.5733 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005695/0.4446, allocations: 1.958 MB / 0.5752 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005638/0.4452, allocations: 386.6 kB / 0.5756 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009921/0.4461, allocations: 0.6691 MB / 0.5762 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008975/0.4551, allocations: 4.058 MB / 0.5802 GB, free: 10.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4551, allocations: 8 kB / 0.5802 GB, free: 10.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4551, allocations: 0 / 0.5802 GB, free: 10.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.514e-05/0.4552, allocations: 0 / 0.5802 GB, free: 10.71 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.003725/0.4589, allocations: 2.068 MB / 0.5822 GB, free: 8.602 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.4589, allocations: 8.031 kB / 0.5822 GB, free: 8.594 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000251/0.4592, allocations: 190.3 kB / 0.5824 GB, free: 8.398 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.4611, allocations: 443.1 kB / 0.5828 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/0.4633, allocations: 0.9881 MB / 0.5838 GB, free: 6.949 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.4635, allocations: 209.5 kB / 0.584 GB, free: 6.719 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002591/0.4638, allocations: 124 kB / 0.5841 GB, free: 6.598 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003109/0.4669, allocations: 1.76 MB / 0.5858 GB, free: 4.766 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.4669, allocations: 7.938 kB / 0.5858 GB, free: 4.758 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.4671, allocations: 52 kB / 0.5859 GB, free: 4.707 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/0.4671, allocations: 32 kB / 0.5859 GB, free: 4.676 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003757/0.4708, allocations: 2.315 MB / 0.5882 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008829/0.4797, allocations: 4.977 MB / 0.593 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.4811, allocations: 0.7016 MB / 0.5937 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006236/0.4818, allocations: 336.4 kB / 0.5941 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007432/0.4892, allocations: 2.862 MB / 0.5968 GB, free: 9.305 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.4892, allocations: 42.5 kB / 0.5969 GB, free: 9.254 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.515e-06/0.4892, allocations: 0 / 0.5969 GB, free: 9.254 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001602/0.4908, allocations: 0.6504 MB / 0.5975 GB, free: 8.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.4909, allocations: 110.8 kB / 0.5976 GB, free: 8.457 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.4926, allocations: 1.345 MB / 0.5989 GB, free: 7.102 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.4927, allocations: 33.7 kB / 0.599 GB, free: 7.062 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006717/0.4934, allocations: 0.8646 MB / 0.5998 GB, free: 6.188 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.4935, allocations: 154.8 kB / 0.6 GB, free: 6.035 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003803/0.4939, allocations: 295.4 kB / 0.6002 GB, free: 5.742 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.4941, allocations: 349.9 kB / 0.6006 GB, free: 5.395 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005554/0.4946, allocations: 348.1 kB / 0.6009 GB, free: 5.055 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.496, allocations: 1.156 MB / 0.602 GB, free: 3.488 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.498, allocations: 1.537 MB / 0.6035 GB, free: 1.543 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-05/0.498, allocations: 11.94 kB / 0.6036 GB, free: 1.531 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.0028/0.5008, allocations: 1.567 MB / 0.6051 GB, free: 15.95 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.826e-05/0.5008, allocations: 19.94 kB / 0.6051 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.554e-05/0.5008, allocations: 31.94 kB / 0.6051 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006657/0.5015, allocations: 162.1 kB / 0.6053 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.5027, allocations: 395.4 kB / 0.6057 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003403/0.5061, allocations: 3.874 MB / 0.6094 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.5073, allocations: 194.5 kB / 0.6096 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.5075, allocations: 99.98 kB / 0.6097 GB, free: 10.9 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.0005734/0.508, allocations: 333.2 kB / 0.61 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/0.5083, allocations: 119.2 kB / 0.6102 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.5101, allocations: 0.9577 MB / 0.6111 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.5101, allocations: 4 kB / 0.6111 GB, free: 9.438 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.5101, allocations: 0 / 0.6111 GB, free: 9.438 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5101, allocations: 0 / 0.6111 GB, free: 9.438 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.5125, allocations: 1.286 MB / 0.6124 GB, free: 8.066 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.5125, allocations: 4 kB / 0.6124 GB, free: 8.062 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.5128, allocations: 63.91 kB / 0.6124 GB, free: 8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007253/0.5135, allocations: 171.2 kB / 0.6126 GB, free: 7.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/0.5135, allocations: 20 kB / 0.6126 GB, free: 7.801 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003124/0.5167, allocations: 3.734 MB / 0.6162 GB, free: 3.777 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.5167, allocations: 4.031 kB / 0.6163 GB, free: 3.773 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.5181, allocations: 0.9094 MB / 0.6171 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002777/0.5184, allocations: 115.1 kB / 0.6173 GB, free: 2.695 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.5185, allocations: 19.89 kB / 0.6173 GB, free: 2.676 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.5189, allocations: 12 kB / 0.6173 GB, free: 2.664 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/0.519, allocations: 43.83 kB / 0.6173 GB, free: 2.621 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.519, allocations: 23.98 kB / 0.6173 GB, free: 2.598 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00132/0.5204, allocations: 0.9586 MB / 0.6183 GB, free: 1.637 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5204, allocations: 0 / 0.6183 GB, free: 1.637 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002096/0.5225, allocations: 0.7046 MB / 0.619 GB, free: 0.9297 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.003171/0.5256, allocations: 2.206 MB / 0.6211 GB, free: 14.66 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001892/0.5275, allocations: 0.8346 MB / 0.6219 GB, free: 13.83 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5275, allocations: 0 / 0.6219 GB, free: 13.83 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005669/0.5281, allocations: 386 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.001203/0.5293, allocations: 188.8 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.0147/0.544, allocations: 10.47 MB / 0.6327 GB, free: 1.742 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005748/0.5446, allocations: 0.5035 MB / 0.6332 GB, free: 1.203 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009944/0.5456, allocations: 314.3 kB / 0.6335 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007214/0.5463, allocations: 0.5383 MB / 0.634 GB, free: 384 kB / 478.1 MB Notification: Performance of SimCode: time 1.222e-06/0.5463, allocations: 4 kB / 0.634 GB, free: 380 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07951/0.6258, allocations: 34.17 MB / 0.6674 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/14.69, allocations: 11.31 kB / 0.6674 GB, free: 14.45 MB / 0.5137 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.669142610859126] Failed to read output from testmodel.py, exit status != 0: 14.830682250205427 14.857440894 14.397073395 Calling exit ...