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.001262/0.001262, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001378/0.001378, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.507/1.507, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.163/0.163, allocations: 23.9 MB / 333.4 MB, free: 1.168 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell",fmuType="cs",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.001985/0.001985, allocations: 69 kB / 466.7 MB, free: 30.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1069, allocations: 59.83 MB / 0.5142 GB, free: 12.91 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.04248/0.1494, allocations: 28.18 MB / 0.5417 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02819/0.1776, allocations: 21.7 MB / 0.5629 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.1787, allocations: 27.75 kB / 0.563 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.1803, allocations: 0.5391 MB / 0.5635 GB, free: 10.42 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002889/0.1832, allocations: 1.013 MB / 0.5645 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008831/0.1921, allocations: 3.3 MB / 0.5677 GB, free: 6.078 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002998/0.195, allocations: 1.801 MB / 0.5695 GB, free: 4.266 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.1962, allocations: 0.7779 MB / 0.5702 GB, free: 3.465 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.1973, allocations: 0.8064 MB / 0.571 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.1986, allocations: 0.9067 MB / 0.5719 GB, free: 1.746 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002508/0.1988, allocations: 148 kB / 0.572 GB, free: 1.602 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00622/0.205, allocations: 2.083 MB / 0.5741 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006014/0.2056, allocations: 386.8 kB / 0.5744 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.2067, allocations: 0.8049 MB / 0.5752 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008969/0.2157, allocations: 4.062 MB / 0.5792 GB, free: 10.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2157, allocations: 0 / 0.5792 GB, free: 10.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2157, allocations: 0 / 0.5792 GB, free: 10.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.065e-05/0.2157, allocations: 0 / 0.5792 GB, free: 10.25 MB / 446.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.004169/0.2199, allocations: 2.15 MB / 0.5813 GB, free: 8.043 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.2199, allocations: 16.02 kB / 0.5813 GB, free: 8.027 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.495e-05/0.22, allocations: 30.73 kB / 0.5813 GB, free: 7.996 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002508/0.2202, allocations: 190.2 kB / 0.5815 GB, free: 7.801 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00195/0.2222, allocations: 439.1 kB / 0.5819 GB, free: 7.371 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/0.2242, allocations: 1.068 MB / 0.583 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001815/0.2244, allocations: 153.9 kB / 0.5831 GB, free: 6.098 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000263/0.2247, allocations: 120 kB / 0.5832 GB, free: 5.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003111/0.2278, allocations: 1.748 MB / 0.5849 GB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.2278, allocations: 7.938 kB / 0.585 GB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.228, allocations: 56 kB / 0.585 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/0.228, allocations: 32 kB / 0.585 GB, free: 4.066 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004172/0.2322, allocations: 2.319 MB / 0.5873 GB, free: 1.742 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2361/0.4683, allocations: 5.575 MB / 0.5927 GB, free: 62.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.4698, allocations: 0.696 MB / 0.5934 GB, free: 62.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006296/0.4704, allocations: 339.1 kB / 0.5938 GB, free: 62.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007337/0.4777, allocations: 5.716 MB / 0.5993 GB, free: 57.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.4777, allocations: 48.47 kB / 0.5994 GB, free: 57.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.094e-06/0.4777, allocations: 0 / 0.5994 GB, free: 57.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001732/0.4795, allocations: 0.7923 MB / 0.6002 GB, free: 57.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.4795, allocations: 112.1 kB / 0.6003 GB, free: 57.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.4813, allocations: 1.291 MB / 0.6015 GB, free: 56.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/0.4814, allocations: 31.92 kB / 0.6015 GB, free: 56.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005173/0.4819, allocations: 0.8662 MB / 0.6024 GB, free: 55.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.482, allocations: 151.5 kB / 0.6025 GB, free: 55.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003963/0.4824, allocations: 293.9 kB / 0.6028 GB, free: 55.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4826, allocations: 357.6 kB / 0.6032 GB, free: 55.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006885/0.4832, allocations: 340 kB / 0.6035 GB, free: 55.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.4843, allocations: 1.152 MB / 0.6046 GB, free: 53.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/0.4858, allocations: 1.535 MB / 0.6061 GB, free: 52.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.74e-05/0.4859, allocations: 7.438 kB / 0.6061 GB, free: 52.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002577/0.4884, allocations: 1.549 MB / 0.6076 GB, free: 51.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/0.4885, allocations: 21 kB / 0.6076 GB, free: 51.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.93e-05/0.4885, allocations: 32.12 kB / 0.6077 GB, free: 51.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007886/0.4893, allocations: 154.6 kB / 0.6078 GB, free: 51.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.4906, allocations: 402.7 kB / 0.6082 GB, free: 51.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.4929, allocations: 4.075 MB / 0.6122 GB, free: 47.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.4941, allocations: 192.8 kB / 0.6124 GB, free: 47.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/0.4944, allocations: 107.2 kB / 0.6125 GB, free: 47.67 MB / 446.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.000637/0.495, allocations: 325.1 kB / 0.6128 GB, free: 47.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/0.4953, allocations: 118.8 kB / 0.6129 GB, free: 47.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001935/0.4972, allocations: 0.938 MB / 0.6138 GB, free: 46.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.4972, allocations: 4.125 kB / 0.6138 GB, free: 46.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.4972, allocations: 5.312 kB / 0.6138 GB, free: 46.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.4972, allocations: 8.531 kB / 0.6138 GB, free: 46.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.4995, allocations: 1.36 MB / 0.6152 GB, free: 46.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.4995, allocations: 2.75 kB / 0.6152 GB, free: 46.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.4998, allocations: 69.12 kB / 0.6152 GB, free: 46.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007265/0.5005, allocations: 170.8 kB / 0.6154 GB, free: 46.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.5006, allocations: 21.28 kB / 0.6154 GB, free: 46.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.5025, allocations: 3.958 MB / 0.6193 GB, free: 42.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.277e-05/0.5025, allocations: 3.969 kB / 0.6193 GB, free: 42.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.5037, allocations: 0.9089 MB / 0.6202 GB, free: 41.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000298/0.504, allocations: 193.7 kB / 0.6204 GB, free: 41.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.5042, allocations: 21.28 kB / 0.6204 GB, free: 41.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.5046, allocations: 9.375 kB / 0.6204 GB, free: 41.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.034e-05/0.5047, allocations: 39.17 kB / 0.6204 GB, free: 41.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.5047, allocations: 18.94 kB / 0.6204 GB, free: 41.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001248/0.506, allocations: 0.9618 MB / 0.6214 GB, free: 40.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.506, allocations: 2.656 kB / 0.6214 GB, free: 40.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002098/0.508, allocations: 0.7044 MB / 0.6221 GB, free: 40.82 MB / 446.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.002833/0.5109, allocations: 2.214 MB / 0.6242 GB, free: 39.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001704/0.5126, allocations: 0.8286 MB / 0.625 GB, free: 39.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5126, allocations: 4.094 kB / 0.625 GB, free: 39.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004443/0.513, allocations: 388.6 kB / 0.6254 GB, free: 38.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.5142, allocations: 189.8 kB / 0.6256 GB, free: 38.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.5246, allocations: 10.44 MB / 0.6358 GB, free: 30.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.5251, allocations: 1.099 MB / 0.6369 GB, free: 29.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008557/0.5259, allocations: 309.9 kB / 0.6372 GB, free: 29.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005425/0.5265, allocations: 0.5338 MB / 0.6377 GB, free: 29.14 MB / 446.1 MB Notification: Performance of SimCode: time 1.533e-06/0.5265, allocations: 3.562 kB / 0.6377 GB, free: 29.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05859/0.5851, allocations: 33.15 MB / 0.6701 GB, free: 12.94 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 24.85/25.43, allocations: 8.062 kB / 0.6701 GB, free: 12.93 MB / 462.1 MB " [Timeout remaining time 634] (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: 28.514251337968744] Failed to read output from testmodel.py, exit status != 0: 25.60327479802072 25.618564361 25.399692429 Calling exit ...