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.001408/0.001408, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001599/0.001599, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.411/1.411, allocations: 230.6 MB / 256 MB, free: 7.793 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.139/0.139, allocations: 23.87 MB / 336.3 MB, free: 11.05 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: translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") [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.002085/0.002085, allocations: 67.89 kB / 471.6 MB, free: 6.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3405, allocations: 59.86 MB / 0.519 GB, free: 9.754 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.07051/0.411, allocations: 27.72 MB / 0.5461 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02562/0.4367, allocations: 19.01 MB / 0.5647 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.4378, allocations: 31.75 kB / 0.5647 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.4392, allocations: 497.4 kB / 0.5652 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002686/0.4419, allocations: 0.9593 MB / 0.5661 GB, free: 9.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008676/0.4506, allocations: 3.346 MB / 0.5694 GB, free: 6.312 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002334/0.4529, allocations: 1.806 MB / 0.5711 GB, free: 4.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009132/0.4539, allocations: 0.7471 MB / 0.5719 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008356/0.4547, allocations: 0.8141 MB / 0.5727 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.4557, allocations: 0.8052 MB / 0.5734 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002379/0.456, allocations: 148 kB / 0.5736 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004634/0.4606, allocations: 1.954 MB / 0.5755 GB, free: 4 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004026/0.461, allocations: 383 kB / 0.5759 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007113/0.4617, allocations: 0.6806 MB / 0.5765 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006533/0.4682, allocations: 4.046 MB / 0.5805 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4682, allocations: 0 / 0.5805 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4682, allocations: 4 kB / 0.5805 GB, free: 10.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.423e-05/0.4683, allocations: 3.938 kB / 0.5805 GB, free: 10.88 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.003312/0.4716, allocations: 2.064 MB / 0.5825 GB, free: 8.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.4716, allocations: 8.031 kB / 0.5825 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.4734, allocations: 447.1 kB / 0.5829 GB, free: 8.324 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.4753, allocations: 0.992 MB / 0.5839 GB, free: 7.305 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/0.4754, allocations: 205.7 kB / 0.5841 GB, free: 7.078 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/0.4757, allocations: 120 kB / 0.5842 GB, free: 6.961 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002667/0.4783, allocations: 1.768 MB / 0.5859 GB, free: 5.121 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/0.4784, allocations: 0 / 0.5859 GB, free: 5.121 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/0.4785, allocations: 56 kB / 0.586 GB, free: 5.066 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.313e-05/0.4785, allocations: 32 kB / 0.586 GB, free: 5.035 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00348/0.482, allocations: 2.315 MB / 0.5883 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007707/0.4897, allocations: 4.814 MB / 0.593 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.491, allocations: 0.7017 MB / 0.5937 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000585/0.4916, allocations: 332.4 kB / 0.594 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006585/0.4982, allocations: 2.868 MB / 0.5968 GB, free: 9.836 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.4982, allocations: 34.56 kB / 0.5968 GB, free: 9.793 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 1.944e-06/0.4982, allocations: 4 kB / 0.5968 GB, free: 9.789 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001491/0.4997, allocations: 0.6387 MB / 0.5974 GB, free: 9.137 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.4998, allocations: 106.8 kB / 0.5976 GB, free: 9.008 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.5012, allocations: 1.245 MB / 0.5988 GB, free: 7.746 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.5013, allocations: 29.7 kB / 0.5988 GB, free: 7.711 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006533/0.5019, allocations: 0.8645 MB / 0.5996 GB, free: 6.836 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.5021, allocations: 158.8 kB / 0.5998 GB, free: 6.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/0.5024, allocations: 295.3 kB / 0.6001 GB, free: 6.387 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.5026, allocations: 353.9 kB / 0.6004 GB, free: 6.035 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005442/0.5031, allocations: 339.8 kB / 0.6007 GB, free: 5.703 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.5044, allocations: 1.16 MB / 0.6019 GB, free: 4.133 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/0.5062, allocations: 1.541 MB / 0.6034 GB, free: 2.184 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.5062, allocations: 8 kB / 0.6034 GB, free: 2.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002395/0.5086, allocations: 1.555 MB / 0.6049 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.5087, allocations: 16 kB / 0.6049 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.283e-05/0.5087, allocations: 35.94 kB / 0.6049 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006138/0.5093, allocations: 157.9 kB / 0.6051 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.5104, allocations: 395.4 kB / 0.6055 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003187/0.5136, allocations: 3.82 MB / 0.6092 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008065/0.5144, allocations: 186.8 kB / 0.6094 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.5146, allocations: 104 kB / 0.6095 GB, free: 11.64 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.0004564/0.515, allocations: 333 kB / 0.6098 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.5152, allocations: 111.2 kB / 0.6099 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/0.517, allocations: 0.9399 MB / 0.6108 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.517, allocations: 8 kB / 0.6108 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.517, allocations: 0 / 0.6108 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.517, allocations: 7.984 kB / 0.6108 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/0.5189, allocations: 1.152 MB / 0.612 GB, free: 8.969 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.5189, allocations: 4 kB / 0.612 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.5192, allocations: 59.91 kB / 0.612 GB, free: 8.906 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006702/0.5198, allocations: 175.2 kB / 0.6122 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.605e-05/0.5199, allocations: 16 kB / 0.6122 GB, free: 8.707 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003087/0.523, allocations: 3.696 MB / 0.6158 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/0.523, allocations: 15.92 kB / 0.6158 GB, free: 4.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.5242, allocations: 0.9025 MB / 0.6167 GB, free: 3.773 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.5244, allocations: 107.4 kB / 0.6168 GB, free: 3.668 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.5245, allocations: 15.89 kB / 0.6168 GB, free: 3.652 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.5248, allocations: 8 kB / 0.6168 GB, free: 3.645 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.5249, allocations: 39.89 kB / 0.6169 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.5249, allocations: 19.98 kB / 0.6169 GB, free: 3.586 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001063/0.526, allocations: 0.8808 MB / 0.6178 GB, free: 2.699 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.526, allocations: 0 / 0.6178 GB, free: 2.699 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001978/0.528, allocations: 0.7162 MB / 0.6185 GB, free: 1.98 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.001365/0.5293, allocations: 0.8565 MB / 0.6193 GB, free: 1.113 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.5309, allocations: 0.8147 MB / 0.6201 GB, free: 312 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.5309, allocations: 8.125 kB / 0.6201 GB, free: 304 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000544/0.5315, allocations: 385.1 kB / 0.6205 GB, free: 15.89 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009333/0.5324, allocations: 163.4 kB / 0.6206 GB, free: 15.74 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.5353, allocations: 1.984 MB / 0.6226 GB, free: 13.69 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/0.5358, allocations: 0.4993 MB / 0.623 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007843/0.5366, allocations: 295 kB / 0.6233 GB, free: 12.89 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.5369, allocations: 147.3 kB / 0.6235 GB, free: 12.74 MB / 478.1 MB Notification: Performance of SimCode: time 3.8e-07/0.5369, allocations: 0 / 0.6235 GB, free: 12.74 MB / 478.1 MB Notification: Performance of Templates: time 0.03524/0.5721, allocations: 22.39 MB / 0.6453 GB, free: 6.5 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.makefile [Timeout 660] (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 & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.550938855856657] Failed to read output from testmodel.py, exit status != 0: 0.5807125959545374 0.594394251 0.12313739100000001 Calling exit ...